Created
June 24, 2014 13:27
-
-
Save tonylukasavage/27e4886cdea3a27406d6 to your computer and use it in GitHub Desktop.
generic .jshintrc for ti, alloy, node.js, mocha
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
{ | |
"browser": true, | |
"camelcase": true, | |
"curly": true, | |
"eqeqeq": true, | |
"expr": true, | |
"immed": true, | |
"indent": 4, | |
"latedef": "nofunc", | |
"newcap": true, | |
"noarg": true, | |
"nonew": true, | |
"undef": true, | |
"unused": false, | |
"trailing": true, | |
"loopfunc": true, | |
"proto": true, | |
"node": true, | |
"-W104": true, | |
"-W068": true, | |
"globals": { | |
"alert": false, | |
"task": false, | |
"Ti": false, | |
"Titanium": false, | |
"mocha": false, | |
"describe": false, | |
"it": false, | |
"before": false, | |
"beforeEach": false, | |
"after": false, | |
"afterEach": false, | |
"$": false | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Forked: https://gist.github.com/FokkeZB/8798af5e4c064f837abd
_
,OS_*
and other globalsglobalstrict
since it's of little use doing this in your Alloy controller