diff options
author | Alex Yatskov <alex@foosoft.net> | 2020-03-14 13:14:03 -0700 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2020-03-14 13:14:03 -0700 |
commit | b77e2afe3a8ef9e96a53dd8ca97d8b913941244b (patch) | |
tree | 818a2f25169845a72b3424b7400b5b07f0f7cacf /.eslintrc.json | |
parent | d32f4def0eeed1599857bc04c973337a2a13dd8b (diff) | |
parent | 98afe7adae80c6bc9de0c4b996e6f6cb0a5df49d (diff) |
Merge branch 'master' into testing
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", |