diff --git a/eslint/babel-eslint-config-internal/index.js b/eslint/babel-eslint-config-internal/index.js index 5c5fb56327..82d4013ef6 100644 --- a/eslint/babel-eslint-config-internal/index.js +++ b/eslint/babel-eslint-config-internal/index.js @@ -7,13 +7,13 @@ module.exports = { sourceType: "module" }, rules: { - camelcase: "off", + "camelcase": "off", "consistent-return": "off", - curly: "off", + "curly": ["error", "multi-line"], "linebreak-style": ["error", "unix"], "max-len": ["error", 110, 2], "new-cap": "off", - "no-case-declarations": "off", + "no-case-declarations": "error", "no-cond-assign": "off", "no-confusing-arrow": "error", "no-console": "off", @@ -31,7 +31,7 @@ module.exports = { "no-use-before-define": "off", "no-var": "error", "prefer-const": "error", - strict: "off", + "strict": "off", "flowtype/define-flow-type": "warn", "flowtype/use-flow-type": "warn", },