Skip to content

Commit 200e899

Browse files
vsemozhetbytevanlucas
authored andcommitted
tools: add root: true in main .eslintrc.yaml
This option prevents ESlint from unnecessary searching in parent folders. It also protects ESlint rules from accidental rewriting by a config in a parent folder. PR-URL: #12570 Fixes: #12566 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Roman Reiss <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Yuta Hiroto <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Teddy Katz <[email protected]> Reviewed-By: Gibson Fahnestock <[email protected]>
1 parent 520f876 commit 200e899

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.eslintrc.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
root: true
2+
13
env:
24
node: true
35
es6: true

0 commit comments

Comments
 (0)