Skip to content

Instantly share code, notes, and snippets.

@barenko
Created January 3, 2015 23:46
Show Gist options
  • Save barenko/9eb0ca08df9622880bc7 to your computer and use it in GitHub Desktop.
Save barenko/9eb0ca08df9622880bc7 to your computer and use it in GitHub Desktop.
JSHint configuration
{
// 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