aboutsummaryrefslogtreecommitdiff
path: root/.eslintrc.json
diff options
context:
space:
mode:
Diffstat (limited to '.eslintrc.json')
-rw-r--r--.eslintrc.json14
1 files changed, 13 insertions, 1 deletions
diff --git a/.eslintrc.json b/.eslintrc.json
index 2d51750..0807154 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -23,6 +23,18 @@
"semi-style": ["error", "last"],
"space-in-parens": ["error", "never"],
"block-spacing": ["error", "always"],
- "object-curly-spacing": ["error", "always"]
+ "object-curly-spacing": ["error", "always"],
+ "eqeqeq": ["error", "always", { "null": "ignore" }],
+ "spaced-comment": ["error", "always"],
+ "yoda": "error",
+ "prefer-destructuring": ["error", { "object": true, "array": false }],
+ "operator-assignment": ["error", "always"],
+ "no-useless-computed-key": "error",
+ "no-unneeded-ternary": ["error", { "defaultAssignment": false }],
+ "no-invalid-regexp": "error",
+ "no-constant-condition": ["error", { "checkLoops": false }],
+ "no-duplicate-imports": "error",
+ "no-extra-semi": "error",
+ "consistent-return": ["error", { "treatUndefinedAsUnspecified": true }]
}
}