Skip to content

Instantly share code, notes, and snippets.

@CWSpear
Created October 11, 2012 18:17
Show Gist options
  • Save CWSpear/3874431 to your computer and use it in GitHub Desktop.
Save CWSpear/3874431 to your computer and use it in GitHub Desktop.
My JSHint Settings (used in CodeKit and Sublime Text 2 via SublimeLinter)
{
"bitwise": true,
"eqeqeq": true,
"latedef": true,
"newcap": true,
"noarg": true,
"nonew": true,
"regexp": true,
"trailing": true,
"regexdash": true,
"sub": true,
"browser": true,
"devel": true,
"jquery": true
}
@CWSpear
Copy link
Author

CWSpear commented Oct 11, 2012

Ok, that makes great sense, thank you.

I remember now that I set newcap to true because I like the convention of classes being Capitalized and I use it across all my own code, but I'm collaborating with another developer on this one, and his company are all Windows developers and a lot of the style and conventions have been very different than anything I use, but I am trying to match their styling. So this wouldn't have normally been an issue in my own code.

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