Skip to content

Instantly share code, notes, and snippets.

@mejarc
Last active January 27, 2016 21:55
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mejarc/38b589624abd98a31f67 to your computer and use it in GitHub Desktop.
Save mejarc/38b589624abd98a31f67 to your computer and use it in GitHub Desktop.
template-jshintrc
// based on jQuery Core & Elijah Manor (http://www.elijahmanor.com/control-the-complexity-of-your-javascript-functions-with-jshint/)
{
"globals": {
"console": false,
"jQuery": false,
"_": false
},
"maxparams": 5,
"maxdepth": 5,
"maxstatements": 25,
"maxcomplexity": 10,
"es5": true,
"boss": true,
"curly": true,
"eqeqeq": true,
"eqnull": true,
"expr": true,
"immed": true,
"noarg": true,
"onevar": true,
"quotmark": "double",
"smarttabs": true,
"strict": true,
"trailing": true,
"undef": true,
"unused": true,
"node": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment