-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 937431 - [Tooling] make jshint a requirement on pre-commit r=rik
* changes how `make lint` works * introduces a jshint-blacklisted reporter * changes the pre-commit hook to run both jshint and gjslint * changes the linters Travis jobs * remove all predefined globals from the main .jshintrc default global * add new jshintrc files for subdirectories * add a README file in build/jshint/
- Loading branch information
Showing
54 changed files
with
2,356 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"extends": "../../../../.jshintrc", | ||
"predef": [ | ||
"suite", | ||
"test", | ||
"setup", | ||
"teardown", | ||
"suiteSetup", | ||
"suiteTeardown", | ||
"marionette", | ||
"marionetteScriptFinished", | ||
"require", | ||
"define", | ||
"requireApp", | ||
"sinon" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"extends": "../../../../.jshintrc", | ||
"predef": [ | ||
"assert", | ||
"suite", | ||
"test", | ||
"setup", | ||
"teardown", | ||
"suiteSetup", | ||
"suiteTeardown", | ||
"require", | ||
"requireApp", | ||
"sinon", | ||
"mocha", | ||
"loadBodyHTML" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"extends": "../../../../.jshintrc", | ||
"predef": [ | ||
"suite", | ||
"test", | ||
"setup", | ||
"teardown", | ||
"suiteSetup", | ||
"suiteTeardown", | ||
"marionette", | ||
"marionetteScriptFinished", | ||
"require", | ||
"define", | ||
"requireApp", | ||
"sinon" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"extends": "../../../../.jshintrc", | ||
"predef": [ | ||
"assert", | ||
"suite", | ||
"test", | ||
"setup", | ||
"teardown", | ||
"suiteSetup", | ||
"suiteTeardown", | ||
"require", | ||
"requireApp", | ||
"sinon", | ||
"mocha", | ||
"loadBodyHTML" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"extends": "../../.jshintrc", | ||
"predef": [ | ||
"define", | ||
"require" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"extends": "../../../../.jshintrc", | ||
"predef": [ | ||
"assert", | ||
"suite", | ||
"test", | ||
"setup", | ||
"teardown", | ||
"suiteSetup", | ||
"suiteTeardown", | ||
"require", | ||
"requireApp", | ||
"sinon", | ||
"mocha", | ||
"loadBodyHTML" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"extends": "../../.jshintrc", | ||
"predef": [ | ||
"define", | ||
"require" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"extends": "../../../../.jshintrc", | ||
"predef": [ | ||
"assert", | ||
"suite", | ||
"test", | ||
"setup", | ||
"teardown", | ||
"suiteSetup", | ||
"suiteTeardown", | ||
"require", | ||
"requireApp", | ||
"sinon", | ||
"mocha", | ||
"loadBodyHTML" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"extends": "../../../../../.jshintrc", | ||
"predef": [ | ||
"suite", | ||
"test", | ||
"setup", | ||
"teardown", | ||
"suiteSetup", | ||
"suiteTeardown", | ||
"marionette", | ||
"marionetteScriptFinished", | ||
"require", | ||
"define", | ||
"requireApp", | ||
"sinon" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"extends": "../../../../../.jshintrc", | ||
"predef": [ | ||
"assert", | ||
"suite", | ||
"test", | ||
"setup", | ||
"teardown", | ||
"suiteSetup", | ||
"suiteTeardown", | ||
"require", | ||
"requireApp", | ||
"sinon", | ||
"mocha", | ||
"loadBodyHTML" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"extends": "../../../../../.jshintrc", | ||
"predef": [ | ||
"suite", | ||
"test", | ||
"setup", | ||
"teardown", | ||
"suiteSetup", | ||
"suiteTeardown", | ||
"marionette", | ||
"marionetteScriptFinished", | ||
"require", | ||
"define", | ||
"requireApp", | ||
"sinon" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"extends": "../../../../../.jshintrc", | ||
"predef": [ | ||
"assert", | ||
"suite", | ||
"test", | ||
"setup", | ||
"teardown", | ||
"suiteSetup", | ||
"suiteTeardown", | ||
"require", | ||
"requireApp", | ||
"sinon", | ||
"mocha", | ||
"loadBodyHTML" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"extends": "../../../../../.jshintrc", | ||
"predef": [ | ||
"assert", | ||
"suite", | ||
"test", | ||
"setup", | ||
"teardown", | ||
"suiteSetup", | ||
"suiteTeardown", | ||
"require", | ||
"requireApp", | ||
"sinon", | ||
"mocha", | ||
"loadBodyHTML" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"extends": "../../../../../.jshintrc", | ||
"predef": [ | ||
"suite", | ||
"test", | ||
"setup", | ||
"teardown", | ||
"suiteSetup", | ||
"suiteTeardown", | ||
"marionette", | ||
"marionetteScriptFinished", | ||
"require", | ||
"define", | ||
"requireApp", | ||
"sinon" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"extends": "../../../../../.jshintrc", | ||
"predef": [ | ||
"assert", | ||
"suite", | ||
"test", | ||
"setup", | ||
"teardown", | ||
"suiteSetup", | ||
"suiteTeardown", | ||
"require", | ||
"requireApp", | ||
"sinon", | ||
"mocha", | ||
"loadBodyHTML" | ||
] | ||
} |
Oops, something went wrong.