Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
js: Conform with jQuery JavaScript Style Guide
* Update JSHint configuration and enforce new rules (mostly quote marks and removing unused variables). * Whitespace (no space after last object/function argument, no space after "function" operator in anonymous functions). * Remove dates from @author. Ref #289
- Loading branch information
Showing
8 changed files
with
336 additions
and
328 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 |
---|---|---|
@@ -1,21 +1,27 @@ | ||
{ | ||
"predef": [ | ||
"SWARM" | ||
], | ||
"boss": true, | ||
"curly": true, | ||
"eqeqeq": true, | ||
"eqnull": true, | ||
"expr": true, | ||
"immed": true, | ||
"noarg": true, | ||
"onevar": true, | ||
"quotmark": "double", | ||
"smarttabs": true, | ||
"trailing": true, | ||
"undef": true, | ||
"unused": true, | ||
|
||
"bitwise": true, | ||
"curly": true, | ||
"eqeqeq": true, | ||
"immed": true, | ||
"latedef": true, | ||
"newcap": true, | ||
"noarg": true, | ||
"noempty": true, | ||
"undef": true, | ||
"trailing": true, | ||
"bitwise": true, | ||
"browser": true, | ||
"es3": true, | ||
"latedef": true, | ||
"newcap": true, | ||
"noempty": true, | ||
|
||
"smarttabs": true, | ||
|
||
"browser": true, | ||
"jquery": true | ||
"predef": [ | ||
"SWARM", | ||
"jQuery" | ||
] | ||
} |
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.