Skip to content

Instantly share code, notes, and snippets.

@ericelliott
Last active August 29, 2015 14:15
Show Gist options
  • Save ericelliott/2d0795c33293758c0459 to your computer and use it in GitHub Desktop.
Save ericelliott/2d0795c33293758c0459 to your computer and use it in GitHub Desktop.
Idiomatic JavaScript .jshintrc for Isomorphic JavaScript with Node style modules and Browserify
{
"maxerr": 10,
"node": true,
"browser": true,
"typed": true,
"worker": true,
"browserify": true,
"predef": ["define", "require"],
"camelcase": false,
"curly": true,
"eqeqeq": true,
"eqnull": true,
"forin": true,
"freeze": true,
"immed": true,
"indent": 2,
"latedef": true,
"newcap": true,
"noarg": true,
"noempty": false,
"nonbsp": false,
"nonew": true,
"plusplus": false,
"quotmark": false,
"undef": true,
"unused": true,
"strict": true,
"maxparams": 5,
"maxdepth": 5,
"maxstatements": false,
"maxcomplexity": 5,
"validthis": true,
"maxlen": 80
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment