Created
January 3, 2015 23:46
-
-
Save barenko/9eb0ca08df9622880bc7 to your computer and use it in GitHub Desktop.
JSHint configuration
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
Show hidden characters
{ | |
// The plugin looks for a .jshintrc file in the same directory as the source | |
// file you're prettifying (or any directory above if it doesn't exist, or in | |
// your home folder if everything else fails) and uses those options along | |
// the default ones. | |
// Details: https://github.com/victorporof/Sublime-JSHint#using-your-own-jshintrc-options | |
// Example: https://github.com/jshint/jshint/blob/master/examples/.jshintrc | |
// Documentation: http://www.jshint.com/docs/options/ | |
"asi": true | |
, "globals": { | |
"expect": true | |
} | |
, "globalstrict": true | |
, "quotmark": true | |
, "undef": true | |
, "unused": "vars" | |
, "boss": true | |
, "camelcase": true | |
, "curly": false | |
, "devel": false | |
, "eqeqeq": true | |
, "eqnull": true | |
, "es5": false | |
, "evil": false | |
, "immed": false | |
, "indent": 4 | |
, "latedef": false | |
, "laxbreak": true | |
, "laxcomma": true | |
, "maxcomplexity": 6 | |
, "maxdepth": 4 | |
, "maxstatements": 25 | |
, "newcap": true | |
, "noempty": false | |
, "nonew": true | |
, "smarttabs": true | |
, "strict": false | |
, "trailing": false | |
, "browser": false | |
, "jquery": true | |
, "node": true | |
, "mocha": true | |
, "jasmine": true | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment