Merge pull request #182 from mstorus/master

jshintrc cleanup
This commit is contained in:
Harrison Shoff
2014-08-05 15:02:23 -07:00

View File

@@ -25,23 +25,23 @@
// Prohibit use of == and != in favor of === and !==.
"eqeqeq": true,
// Suppress warnings about == null comparisons.
"eqnull": true,
// Enforce tab width of 2 spaces.
"indent": 2,
// Prohibit use of a variable before it is defined.
"latedef": true,
// Enforce line length to 80 characters
"maxlen": 80,
// Require capitalized names for constructor functions.
"newcap": true,
// Enforce use of single quotation marks for strings.
"quotmark": "single",
// Prohibit trailing whitespace.
"trailing": true,
// Enforce placing 'use strict' at the top function scope
"strict": true,
// Prohibit use of explicitly undeclared variables.
"undef": true,
@@ -49,9 +49,11 @@
// Warn when variables are defined but never used.
"unused": true,
// Enforce line length to 80 characters
"maxlen": 80,
/*
* RELAXING OPTIONS
* =================
*/
// Enforce placing 'use strict' at the top function scope
"strict": true
// Suppress warnings about == null comparisons.
"eqnull": true
}