Skip to content

Instantly share code, notes, and snippets.

@tjunghans
Last active December 26, 2015 10:19
Show Gist options
  • Save tjunghans/7135915 to your computer and use it in GitHub Desktop.
Save tjunghans/7135915 to your computer and use it in GitHub Desktop.
JSHint configuration file example. See http://www.jshint.com/docs/ for more information.
{
"globals": {
"console": false,
"debug" : false,
"jQuery" : false
},
"camelcase" : true,
"curly": true,
"eqeqeq": true,
"forin": true,
"freeze" : true,
"immed": true,
"indent": 4,
"latedef" : true,
"newcap" : true,
"noempty" : true,
"nonbsp" : true,
"nonew" : true,
"plusplus": true,
"quotmark" : "single",
"undef": true,
"unused": true,
"strict": true,
"trailing" : true,
"maxparams": 3,
"maxdepth": 5,
"maxstatements": 25,
"maxcomplexity": 10,
"maxlen" : 120,
"noarg": true,
"boss" : false,
"debug": false,
"evil": true,
"sub": false,
"laxbreak": false,
"browser" : true,
"devel": false,
"nomen": false,
"onevar": true,
"white": false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment