-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When I originally added this file to the project, I simply copied another project's settings. This commit removes most of the relaxing options and adds most of the enforcing options. If we had these lints enabled, we would have avoided the previous bug. Descriptions of these options can be found at: http://www.jshint.com/docs/options/ At the same time I made some adjustments to the code to satisfy the new lints. Change-Id: I1b83b8c439812bac843f1705f9bff3d54e5fdfc0 Reviewed-on: http://gerrit.causes.com/37022 Tested-by: Joe Lencioni <[email protected]> Reviewed-by: Hao Su <[email protected]>
- Loading branch information
Showing
4 changed files
with
49 additions
and
29 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,16 +1,24 @@ | ||
{ | ||
"asi" : true, | ||
"bitwise" : true, | ||
"boss" : true, | ||
"browser" : true, | ||
"curly" : false, | ||
"debug" : true, | ||
"devel" : true, | ||
"eqeqeq" : false, | ||
"eqnull" : true, | ||
"expr" : true, | ||
"laxbreak" : true, | ||
"laxcomma" : true, | ||
"multistr" : true, | ||
"supernew" : true, | ||
"validthis" : true | ||
"camelcase" : true, | ||
"curly" : true, | ||
"eqeqeq" : true, | ||
"es3" : true, | ||
"forin" : true, | ||
"freeze" : true, | ||
"immed" : true, | ||
"indent" : 2, | ||
"latedef" : true, | ||
"newcap" : true, | ||
"noarg" : true, | ||
"noempty" : true, | ||
"nonbsp" : true, | ||
"nonew" : true, | ||
"quotmark" : "single", | ||
"undef" : true, | ||
"unused" : true, | ||
"strict" : true, | ||
"trailing" : 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
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