diff --git a/.eslintrc.json b/.eslintrc.json index d02a0310a7..e35c50340c 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -10,6 +10,8 @@ "plugin:ghost/node" ], "rules": { + // TODO: remove this rule once it's turned into "error" in the base plugin + "no-shadow": "error", "no-var": "error", "one-var": [2, "never"] } diff --git a/test/.eslintrc.json b/test/.eslintrc.json index 56148d54dc..02501af33d 100644 --- a/test/.eslintrc.json +++ b/test/.eslintrc.json @@ -12,6 +12,9 @@ "plugin:ghost/test" ], "rules": { + // TODO: remove this rule once it's turned into "error" in the base plugin + "no-shadow": "error", + // these rules were were not previously enforced in our custom rules, // they're turned off here because they _are_ enforced in our plugin. // TODO: remove these custom rules and fix the problems in test files where appropriate