Skip to content

Instantly share code, notes, and snippets.

@craiglondon
Forked from artanisdesign/.jshintrc
Last active July 8, 2016 20:07
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 craiglondon/f66b7d37e7c315047d0e6e99c90bf102 to your computer and use it in GitHub Desktop.
Save craiglondon/f66b7d37e7c315047d0e6e99c90bf102 to your computer and use it in GitHub Desktop.
Titanium JSHint setup
{
"bitwise": true,
"camelcase": true,
"eqeqeq": true,
"indent": 4,
"unused": true,
"onevar": true,
"undef": true,
"trailing": true,
"latedef": true,
"curly" : true,
"sub": true,
"node":true,
"nonbsp" : true,
"nonew" : true,
"globals": {
"Ti": false,
"Titanium": false,
"Alloy": false,
"describe": false,
"it": false,
"before": false,
"beforeEach": false,
"after": false,
"afterEach": false,
"should": false,
"$" : false,
"Backbone": false,
"OS_IOS" : false,
"OS_ANDROID" : false,
"_" : false,
"ENV_DEV" : false,
"ENV_TEST" : false,
"ENV_PRODUCTION" : false,
"DIST_ADHOC" : false,
"DIST_STORE" : false,
"L" : false,
"alert" : false
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment