diff options
Diffstat (limited to '.eslintrc.json')
-rw-r--r-- | .eslintrc.json | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/.eslintrc.json b/.eslintrc.json index 472f568561..d4b1646280 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -5,14 +5,30 @@ "sourceType": "script" }, "rules": { + "array-bracket-spacing" : "warn", + "block-spacing": "warn", + "brace-style": ["warn", "1tbs"], "camelcase": "warn", + "comma-spacing": "warn", + "computed-property-spacing" : ["warn", "never", { + "enforceForClassMembers": true + }], "dot-location": "warn", "eqeqeq": ["error", "always"], + "func-style": ["error", "expression", { + "allowArrowFunctions": true + }], + "keyword-spacing": "warn", + "linebreak-style": ["warn", "unix"], "no-unused-vars": ["error", { "argsIgnorePattern": "^_" }], + "object-curly-spacing" : "warn", "quotes": ["warn", "double"], - "require-atomic-updates": "error" + "require-atomic-updates": "error", + "semi": "warn", + "semi-spacing": "warn", + "space-in-parens": "warn" }, "globals": { "console": "writable", |