Add a separate .jshintrc for client-side code.

This commit is contained in:
Simo Kinnunen
2014-05-13 16:10:56 +09:00
parent 80cdf6f684
commit 0c4ae25d88
2 changed files with 36 additions and 3 deletions

View File

@@ -25,9 +25,6 @@
"beforeEach": false,
"after": false,
"afterEach": false,
"expect": true,
"inject": false,
"angular": false,
"Promise": true
}
}

36
res/.jshintrc Normal file
View File

@@ -0,0 +1,36 @@
{
"camelcase": true,
"curly": true,
"freeze": true,
"immed": true,
"latedef": "nofunc",
"newcap": false,
"noarg": true,
"noempty": true,
"nonbsp": true,
"nonew": true,
"undef": true,
"unused": true,
"trailing": true,
"maxlen": 80,
"asi": true,
"esnext": true,
"laxcomma": true,
"laxbreak": true,
"browser": true,
"globals": {
"describe": false,
"it": false,
"before": false,
"beforeEach": false,
"after": false,
"afterEach": false,
"expect": true,
"inject": false,
"angular": false,
"define": false,
"require": false,
"module": false,
"Promise": true
}
}