Merge pull request babel/eslint-config-babel#20 from babel/existentialism-patch-1

This commit is contained in:
Brian Ng 2018-09-11 10:28:37 -05:00
parent 74d47288c0
commit 7499b0cab0

View File

@ -7,13 +7,13 @@ module.exports = {
sourceType: "module" sourceType: "module"
}, },
rules: { rules: {
camelcase: "off", "camelcase": "off",
"consistent-return": "off", "consistent-return": "off",
curly: "off", "curly": ["error", "multi-line"],
"linebreak-style": ["error", "unix"], "linebreak-style": ["error", "unix"],
"max-len": ["error", 110, 2], "max-len": ["error", 110, 2],
"new-cap": "off", "new-cap": "off",
"no-case-declarations": "off", "no-case-declarations": "error",
"no-cond-assign": "off", "no-cond-assign": "off",
"no-confusing-arrow": "error", "no-confusing-arrow": "error",
"no-console": "off", "no-console": "off",
@ -31,7 +31,7 @@ module.exports = {
"no-use-before-define": "off", "no-use-before-define": "off",
"no-var": "error", "no-var": "error",
"prefer-const": "error", "prefer-const": "error",
strict: "off", "strict": "off",
"flowtype/define-flow-type": "warn", "flowtype/define-flow-type": "warn",
"flowtype/use-flow-type": "warn", "flowtype/use-flow-type": "warn",
}, },