Skip to content

Instantly share code, notes, and snippets.

@cloudchen
Created August 28, 2013 07:10
Show Gist options
  • Save cloudchen/6362982 to your computer and use it in GitHub Desktop.
Save cloudchen/6362982 to your computer and use it in GitHub Desktop.
preferred jshint configuration for webpage project
{
"camelcase": true,
"curly": true,
"eqeqeq": true,
"es3": false,
"forin": false,
"immed": true,
"indent": false,
"latedef": "nofunc",
"newcap": true,
"noarg": true,
"noempty": true,
"nonew": true,
"plusplus": false,
"quotmark": true,
"undef": true,
"unused": "vars",
"strict": true,
"trailing": true,
"boss": false,
"debug": false,
"smarttabs": false,
"eqnull": true,
"laxcomma": true,
"browser": true,
"devel": true,
"jquery": true,
"globals": {
"define": false
,"require": false
}
}
@cloudchen
Copy link
Author

Copy this file to home directory, there you go.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment