Skip to content

Instantly share code, notes, and snippets.

@finian
Last active December 19, 2015 11:29
Show Gist options
  • Save finian/5948024 to your computer and use it in GitHub Desktop.
Save finian/5948024 to your computer and use it in GitHub Desktop.
My SublimeLinter.sublime-settings with jshint options
{
"sublimelinter": "save-only",
"sublimelinter_gutter_marks_theme": "bright",
"sublimelinter_notes": true,
"sublimelinter_popup_errors_on_save": true,
"jshint_options": {
// Enforcing
"bitwise": true,
//"camelcase": false,
"curly": true,
"eqeqeq": true,
//"es3": false,
//"forin": false,
"immed": true,
"indent": 2,
"latedef": "nofunc",
"newcap": true,
"noarg": true,
"noempty": true,
"nonew": true,
//"plusplus": false,
"quotmark": "single",
"undef": true,
"unused": true,
//"strict": false,
"trailing": true,
//"maxparams": false,
//"maxdepth": false,
//"maxstatements": false,
//"maxcomplexity": false,
"maxlen": 80,
// Relaxing
//"asi": false,
//"boss": false,
//"debug": false,
"eqnull": true,
//"esnext": false,
//"evil": false,
"expr": true,
//"funcscope": false,
//"globalstrict": false,
//"iterator": false,
//"lastsemic": false,
//"laxbreak": false,
//"laxcomma": false,
//"loopfunc": false,
//"moz": false,
//"multistr": false,
//"proto": false,
//"scripturl": false,
//"smarttabs": false,
//"shadow": false,
//"sub": false,
//"supernew": false,
//"validthis": false,
// Environments
"browser": true,
//"couch": false,
"devel": true,
//"dojo": false,
//"jquery": false,
//"mootools": false,
"node": true,
"nonstandard": true,
//"phantom": false,
//"prototypejs": false,
//"rhino": false,
//"worker": false,
//"wsh": false,
//"yui": false,
// Legacy
//"nomen": false,
//"onevar": false,
//"passfail": false,
//"white": false,
// Custom Globals
"predef": []
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment