-
Notifications
You must be signed in to change notification settings - Fork 417
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build: Switch from JSHint to ESLint with the jquery preset
Also, fix linting violations in the process Closes gh-110
- Loading branch information
Showing
13 changed files
with
284 additions
and
266 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
bower_component/** | ||
external/** | ||
node_modules/** |
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,25 @@ | ||
{ | ||
"extends": "eslint-config-jquery", | ||
"root": true, | ||
"rules": { | ||
|
||
// Increase max-len to 120 for now, there are too many violations and the rule | ||
// is not auto-fixable. | ||
"max-len": [ | ||
"error", | ||
{ | ||
"code": 150, | ||
"ignoreComments": true | ||
} | ||
] | ||
}, | ||
"env": { | ||
"node": true | ||
}, | ||
"globals": { | ||
"jQuery": true, | ||
"define": true, | ||
"require": true, | ||
"module": true | ||
} | ||
} |
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
Oops, something went wrong.