mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-17 23:53:25 +02:00
Add a separate .jshintrc for client-side code.
This commit is contained in:
@@ -25,9 +25,6 @@
|
||||
"beforeEach": false,
|
||||
"after": false,
|
||||
"afterEach": false,
|
||||
"expect": true,
|
||||
"inject": false,
|
||||
"angular": false,
|
||||
"Promise": true
|
||||
}
|
||||
}
|
||||
|
||||
36
res/.jshintrc
Normal file
36
res/.jshintrc
Normal 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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user