diff --git a/linters/SublimeLinter/SublimeLinter.sublime-settings b/linters/SublimeLinter/SublimeLinter.sublime-settings index 771e4d2802..f9f87ba521 100644 --- a/linters/SublimeLinter/SublimeLinter.sublime-settings +++ b/linters/SublimeLinter/SublimeLinter.sublime-settings @@ -7,7 +7,7 @@ * 3. Paste the contents of this file into your settings file * 4. Save the settings file * - * @version 0.1.1 + * @version 0.2.0 * @see https://github.com/SublimeLinter/SublimeLinter * @see http://www.jshint.com/docs/ */ @@ -19,10 +19,10 @@ * ================= */ - // Defines globals exposed by modern browsers. + // Define globals exposed by modern browsers. "browser": true, - // Defines globals exposed by jQuery. + // Define globals exposed by jQuery. "jquery": true, /* @@ -30,28 +30,32 @@ * ================= */ - // Prohibits the use of == and != in favor of === and !==. + // Force all variable names to use either camelCase style or UPPER_CASE + // with underscores. + "camelcase": true, + + // Prohibit the use of == and != in favor of === and !==. "eqeqeq": true, - // Suppresses warnings about == null comparisons. + // Suppress warnings about == null comparisons. "eqnull": true, - // Enforces a tab width of 2 spaces. + // Enforce a tab width of 2 spaces. "indent": 2, - // Prohibits the use of a variable before it was defined. + // Prohibit the use of a variable before it was defined. "latedef": true, - // $equires you to capitalize names of constructor functions. + // Require capitalized names for constructor functions. "newcap": true, - // Makes it an error to leave a trailing whitespace in your code. + // Prohibit trailing whitespace. "trailing": true, - // Prohibits the use of explicitly undeclared variables. + // Prohibit the use of explicitly undeclared variables. "undef": true, - // Warns when you define and never use your variables. + // Warn when variables are defined but never used. "unused": true } }