Skip to content

Instantly share code, notes, and snippets.

@shodanuk
Forked from tonylukasavage/.jshintrc
Last active August 29, 2015 14:06
Show Gist options
  • Save shodanuk/5bf8300c8478c52d001e to your computer and use it in GitHub Desktop.
Save shodanuk/5bf8300c8478c52d001e to your computer and use it in GitHub Desktop.
A jshint config file intended for use in Titanium development
{
"predef": [
"Ti",
"Titanium",
"Alloy",
"Widget",
"describe",
"it",
"before",
"beforeEach",
"after",
"afterEach",
"should",
"OS_ANDROID",
"OS_IOS",
"$",
"alert",
"Backbone",
"_",
"DIST_STORE",
"ENV_DEV",
"ENV_TEST",
"ENV_PRODUCTION",
"L"
],
"node": true,
"curly": true,
"forin": true,
"indent": 4,
"noempty": true,
"undef": true,
"unused": true,
"maxdepth": 3,
"eqeqeq": true,
"latedef": true,
"quotmark": true
}
@shodanuk
Copy link
Author

Tony's original didn't work for me but this does.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment