-
Notifications
You must be signed in to change notification settings - Fork 210
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
It just switches from JSHint to ESLint. ESLint has many good linting rules as default, and it makes more consistency code. The summary of changes as follows. * Intended code under `lib/` and `tests/`. * Follow default rules of ESLint as much as possible. * Disable following rules to avoid making large code changes for now. * `camelcase` * `new-cap` * `no-loop-func` * `no-process-exit` * `no-underscore-dangle` * `no-use-before-define`
- Loading branch information
Showing
21 changed files
with
656 additions
and
605 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,17 @@ | ||
{ | ||
"env": { | ||
"node": true | ||
}, | ||
"globals": { | ||
"YUI": true | ||
}, | ||
"rules": { | ||
"camelcase": 0, | ||
"new-cap": 0, | ||
"no-loop-func": 0, | ||
"no-process-exit": 0, | ||
"no-underscore-dangle": 0, | ||
"no-use-before-define": 0, | ||
"quotes": [2, "single"] | ||
} | ||
} |
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
Oops, something went wrong.