Skip to content

Instantly share code, notes, and snippets.

@Integralist
Last active December 28, 2015 07:19
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 Integralist/7463783 to your computer and use it in GitHub Desktop.
Save Integralist/7463783 to your computer and use it in GitHub Desktop.
How to extract JSHint details into its own config file
jshint: {
files: ['**/*.js'],
options: {
jshintrc: '.jshintrc'
}
}
{
"curly": true,
"eqeqeq": true,
"immed": true,
"latedef": true,
"noarg": true,
"sub": true,
"undef": true,
"boss": true,
"eqnull": true,
"browser": true,
"multistr": true,
"newcap": false,
"globals": {
"": "AMD",
"module": true,
"require": true,
"requirejs": true,
"define": true,
"": "Environments",
"console": true,
"": "General Purpose Libraries",
"$": true,
"jQuery": true,
"EventEmitter": true,
"": "Testing",
"sinon": true,
"describe": true,
"it": true,
"expect": true,
"beforeEach": true,
"waitsFor": true,
"runs": true,
"afterEach": true
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment