Created
April 16, 2013 07:26
-
-
Save josephj/5394066 to your computer and use it in GitHub Desktop.
miiiCasa 的 JSHint 設定,還需要再討論。
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
/** | |
* JSHint options: http://www.jshint.com/docs/#options | |
*/ | |
{ | |
"bitwise": true, | |
//"camelcase": true, | |
"curly": true, // Disallows curly. | |
"eqeqeq": true, | |
"forin": true, | |
"immed": true, | |
"indent": 4, | |
"latedef": false, // TODO: Not so sure what is it. | |
"newcap": true, | |
"noarg": true, | |
"noempty": true, | |
"nonew": true, | |
"plusplus": true, | |
"quotmark": "double", | |
"undef": true, | |
"unused": false, | |
"strict": false, // TODO: Should I enable "use strict" ? | |
"trailing": true, | |
"maxparams": 5, // TODO: Need to discuss. | |
"maxdepth": 2, // TODO: Need to discuss. | |
// "maxstatements": 1, // TODO: Not sure. | |
"maxcomplexity": 10, // TODO: Need to discuss. | |
"maxlen": 150, | |
"debug": false, | |
"laxcomma": false, | |
"scripturl": false, | |
"smarttabs": false, | |
"sub": false, | |
"supernew": false, | |
"regexp": true, | |
"browser": true, | |
"yui": true, | |
"white": true | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment