diff --git a/eslint/babel-eslint-config-internal/index.js b/eslint/babel-eslint-config-internal/index.js index 2dd105c78d..9d2573fada 100644 --- a/eslint/babel-eslint-config-internal/index.js +++ b/eslint/babel-eslint-config-internal/index.js @@ -10,7 +10,21 @@ module.exports = { "comma-spacing": "error", "consistent-return": "off", curly: "off", - "indent": ["error", 2], + indent: ["error", 2, { + SwitchCase: 1, + outerIIFEBody: 1, + FunctionDeclaration: { + parameters: 1, + body: 1, + }, + FunctionExpression: { + parameters: 1, + body: 1, + }, + CallExpression: { + parameters: 1, + } + }], "linebreak-style": ["error", "unix"], "key-spacing": "off", "keyword-spacing": "error",