diff options
Diffstat (limited to '.eslintrc.json')
-rw-r--r-- | .eslintrc.json | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.eslintrc.json b/.eslintrc.json index fcc6995b..db8ff1fa 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -22,6 +22,7 @@ "dot-notation": "error", "eqeqeq": "error", "func-names": ["error", "always"], + "guard-for-in": "error", "no-case-declarations": "error", "no-const-assign": "error", "no-constant-condition": "off", @@ -62,7 +63,7 @@ "semi-spacing": ["error", {"before": false, "after": true}], "space-in-parens": ["error", "never"], "space-unary-ops": "error", - "spaced-comment": ["error", "always", {"markers": ["global"]}], + "spaced-comment": ["error", "always"], "switch-colon-spacing": ["error", {"after": true, "before": false}], "template-curly-spacing": ["error", "never"], "template-tag-spacing": ["error", "never"], @@ -73,7 +74,7 @@ }, "overrides": [ { - "files": ["*.js"], + "files": ["ext/**/*.js"], "excludedFiles": ["ext/mixed/js/core.js"], "globals": { "yomichan": "readonly", @@ -85,7 +86,6 @@ "toIterable": "readonly", "stringReverse": "readonly", "promiseTimeout": "readonly", - "stringReplaceAsync": "readonly", "parseUrl": "readonly", "EventDispatcher": "readonly", "EventListenerCollection": "readonly", |