Skip to content

Instantly share code, notes, and snippets.

@danihodovic
Created November 23, 2014 02:35
Show Gist options
  • Save danihodovic/387fa560eb464f90f27f to your computer and use it in GitHub Desktop.
Save danihodovic/387fa560eb464f90f27f to your computer and use it in GitHub Desktop.
jshintrc
{
//Restricting
"bitwise": true,
"curly": true,
"eqeqeq": true,
"immed": true,
"indent": 2,
"latedef": "func",
"newcap": true,
"noarg": true,
"noempty": false,
"nonbsp": false,
"nonew": true,
"plusplus": false,
"quotmark": false,
"undef": true,
"unused": "vars",
"strict": false,
"maxparams": 6,
"maxdepth": false,
"maxstatements": false,
"maxcomplexity": 20,
"maxlen": 80,
//Relaxing, didn't include all most are dumb
"asi": true,
"debug": false,
"esnext": false,
//Environment
"browser": true,
"couch": false,
"devel": true,
"dojo": false,
"jquery": true,
"mootools": false,
"node": true,
"nonstandard": false,
"phantom": false,
"prototypejs": false,
"rhino": false,
"worker": true,
"wsh": false,
"yui": false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment