Skip to content

Instantly share code, notes, and snippets.

@seperman
Last active January 7, 2016 07:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save seperman/88b2e8d57bd1f66d1c3b to your computer and use it in GitHub Desktop.
Save seperman/88b2e8d57bd1f66d1c3b to your computer and use it in GitHub Desktop.
jshint configs for sublime
{
// The plugin looks for a .jshintrc file in the same directory as the source
// file you're prettifying (or any directory above if it doesn't exist, or in
// your home folder if everything else fails) and uses those options along
// the default ones.
// Details: https://github.com/victorporof/Sublime-JSHint#using-your-own-jshintrc-options
// Example: https://github.com/jshint/jshint/blob/master/examples/.jshintrc
// Documentation: http://www.jshint.com/docs/options/
"browser": true,
"esnext": true,
"globals": {},
"globalstrict": true,
"quotmark" : false,
"undef": true,
"unused": true,
// This is so it doesn't show some errors about nodejs stuff
"node": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment