Skip to content

Instantly share code, notes, and snippets.

@elsassph
Created January 5, 2012 13:22
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save elsassph/1565232 to your computer and use it in GitHub Desktop.
Save elsassph/1565232 to your computer and use it in GitHub Desktop.
My SublimeLinter's settings
[...]
/*
The minimum delay in seconds (fractional seconds are okay) before
a linter is run when the "sublimelinter" setting is true. This allows
you to have background linting active, but defer the actual linting
until you are idle. When this value is greater than the built in linting delay,
errors are erased when the file is modified, since the assumption is
you don't want to see errors while you type.
*/
"sublimelinter_delay": 2,
[...]
// jshint: options for linting JavaScript. See http://jshint.com/#docs for more info.
// By deault, eval is allowed.
"jshint_options":
{
/*"evil": true,
"regexdash": true,
"browser": true,
"wsh": true,
"trailing": true,
"sub": true*/
"browser" : false,
"devel" : false,
"jquery" : false,
"mootools" : false,
"node" : false,
"prototypejs" : false,
"rhino" : false,
"wsh" : false,
"asi" : false,
"bitwise" : false,
"boss" : true,
"curly" : false,
"debug" : false,
"eqeqeq" : false,
"eqnull" : true,
"es5" : true,
"evil" : false,
"expr" : true,
"forin" : false,
"globalstrict" : false,
"immed" : true,
"latedef" : false,
"laxbreak" : true,
"laxcomma" : true,
"loopfunc" : false,
"maxerr" : 50,
"newcap" : true,
"noarg" : true,
"noempty" : true,
"nonew" : true,
"nomen" : false,
"onevar" : false,
"passfail" : false,
"plusplus" : false,
"regexdash" : false,
"regexp" : false,
"undef" : false, // since latedef isn't working just assume we know what we are doing
"scripturl" : false,
"shadow" : false,
"smarttabs" : true,
"strict" : false,
"sub" : true,
"supernew" : false,
"trailing" : false,
"white" : false
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment