Skip to content

Commit cbe24a4

Browse files
Krinkletrentmwillis
authored andcommitted
Build: Set "root: true" in eslintrc
Otherwise, the next version of qunitjs/jquery-release (which uses ESLint instead of JSHint for linting its own code), is unable to get "grunt" to pass on qunitjs/qunit because it's clone will be in a subdirectory of itself, which then fails as follows: > ~/Dev/qunit-release/__release/repo/test/reporter-html/window-onerror-preexisting-handler.html > 9:27 error 'onerrorCallingContext' is assigned a value but never used no-unused-vars This is because ESLint is walking up from __release/repo and finding the unrelated .eslintrc file in *that* repo.
1 parent d90402f commit cbe24a4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.eslintrc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"root": true,
23
"env": {
34
"es6": true
45
},

0 commit comments

Comments
 (0)