Skip to content

Commit 7db2b00

Browse files
Add "guard-for-in" eslint rule
1 parent 1e4a149 commit 7db2b00

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: src/librustdoc/html/static/.eslintrc.js

+1
Original file line numberDiff line numberDiff line change
@@ -76,5 +76,6 @@ module.exports = {
7676
"no-self-compare": "error",
7777
"no-template-curly-in-string": "error",
7878
"block-scoped-var": "error",
79+
"guard-for-in": "error",
7980
}
8081
};

0 commit comments

Comments
 (0)