From 7499b0cab0f80a28cfebf7c31dbfc6eadd1d43e5 Mon Sep 17 00:00:00 2001 From: Brian Ng Date: Tue, 11 Sep 2018 10:28:37 -0500 Subject: [PATCH] Merge pull request babel/eslint-config-babel#20 from babel/existentialism-patch-1 --- eslint/babel-eslint-config-internal/index.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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", },