Clean up .jshintrc
jshint does not support `trailing` as of v1.5.0. Remove `maxlen` too, jscs provides better implementation. Fix definition of global mocha variables - mark them as immutable.
This commit is contained in:
parent
e2aff71bf9
commit
83723379a2
14
.jshintrc
14
.jshintrc
|
@ -7,18 +7,16 @@
|
||||||
"undef": true,
|
"undef": true,
|
||||||
"unused": true,
|
"unused": true,
|
||||||
"quotmark": "single",
|
"quotmark": "single",
|
||||||
"maxlen": 80,
|
|
||||||
"trailing": true,
|
|
||||||
"newcap": true,
|
"newcap": true,
|
||||||
"nonew": true,
|
"nonew": true,
|
||||||
"sub": true,
|
"sub": true,
|
||||||
"unused": "vars",
|
"unused": "vars",
|
||||||
"globals": {
|
"globals": {
|
||||||
"describe": true,
|
"describe": false,
|
||||||
"it": true,
|
"it": false,
|
||||||
"before": true,
|
"before": false,
|
||||||
"beforeEach": true,
|
"beforeEach": false,
|
||||||
"after": true,
|
"after": false,
|
||||||
"afterEach": true
|
"afterEach": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue