Skip to content

Commit

Permalink
tools: add root: true in main .eslintrc.yaml
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
vsemozhetbyt authored and evanlucas committed May 2, 2017
1 parent 520f876 commit 200e899
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .eslintrc.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
root: true

env:
node: true
es6: true
Expand Down

0 comments on commit 200e899

Please sign in to comment.