Commit 74a526da by spenceralger

Merge pull request #401 from spenceralger/shared-config

Setup a shared JSHint config file
parents 6c4f00ce d778873b
node_modules
\ No newline at end of file
{
"jquery": true,
"browser": true,
"bitwise":false,
"curly": true,
"eqnull": true,
"globalstrict": true,
"devel": true,
"eqeqeq": true,
"forin": true,
"immed": true,
"supernew": true,
"expr": true,
"indent": 2,
"latedef": true,
"newcap": true,
"noarg": true,
"noempty": true,
"undef": true,
"boss": true,
"trailing": true,
"laxbreak": true,
"laxcomma": true,
"sub": true,
"maxlen": 140,
"globals": {
"$LAB": false,
"_": false,
"$": false,
"kbn" : false,
"angular" : false,
"exports": true,
"module": false,
"config": false,
"moment": false
}
}
\ No newline at end of file
...@@ -17,34 +17,7 @@ module.exports = function (grunt) { ...@@ -17,34 +17,7 @@ module.exports = function (grunt) {
jshint: { jshint: {
files: ['Gruntfile.js', 'js/*.js', 'panels/*/*.js' ], files: ['Gruntfile.js', 'js/*.js', 'panels/*/*.js' ],
options: { options: {
bitwise: true, jshintrc: '.jshintrc'
maxlen: 140,
curly: true,
eqeqeq: true,
immed: true,
indent: 2,
latedef: true,
newcap: true,
noarg: true,
sub: true,
undef: true,
boss: true,
eqnull: true,
globalstrict: true,
devel: true,
node: true,
globals: {
'$LAB': false,
'_': false,
'$': false,
'kbn' : false,
window: false,
document: false,
exports: true,
module: false,
config: false,
moment: false
}
} }
}, },
less: { less: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment