aboutsummaryrefslogtreecommitdiff
path: root/.eslintrc.json
diff options
context:
space:
mode:
Diffstat (limited to '.eslintrc.json')
-rw-r--r--.eslintrc.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/.eslintrc.json b/.eslintrc.json
index fcc6995b..4ee1f982 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",
@@ -73,7 +74,7 @@
},
"overrides": [
{
- "files": ["*.js"],
+ "files": ["ext/**/*.js"],
"excludedFiles": ["ext/mixed/js/core.js"],
"globals": {
"yomichan": "readonly",