Created
January 8, 2014 19:41
-
-
Save lvl-svasseur/8323183 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
// 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/ | |
// Enforcing | |
"indent": 4, | |
"quotmark": false, | |
"camelcase": true, | |
"newcap": true, | |
"curly": true, // true: Require {} for every new block or scope | |
"smarttabs": true, | |
"trailing": true, | |
"undef": true, | |
"unused": true, | |
// Relaxing | |
"bitwise": false, // true: Prohibit bitwise operators (&, |, ^, etc.) | |
"globalstrict": true, | |
"esnext": true, | |
"lastsemic": false, | |
"boss": true, // true: Tolerate assignments where comparisons would be expected | |
// Environments | |
"devel": true, | |
"jquery": true, | |
"browser": true, | |
"node": true, | |
// Custom Globals | |
"globals": { | |
"$": false, | |
"_": false, | |
"angular": false, | |
"alert": false, | |
"clearInterval": false, | |
"clearTimeout": false, | |
"console": false, | |
"document": false, | |
"localStorage": false, | |
"module": false, | |
"navigator": false, | |
"require": false, | |
"setTimeout": false, | |
"setInterval": false, | |
"$script": false, | |
"window": false | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment