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,
|
||||
"unused": true,
|
||||
"quotmark": "single",
|
||||
"maxlen": 80,
|
||||
"trailing": true,
|
||||
"newcap": true,
|
||||
"nonew": true,
|
||||
"sub": true,
|
||||
"unused": "vars",
|
||||
"globals": {
|
||||
"describe": true,
|
||||
"it": true,
|
||||
"before": true,
|
||||
"beforeEach": true,
|
||||
"after": true,
|
||||
"afterEach": true
|
||||
"describe": false,
|
||||
"it": false,
|
||||
"before": false,
|
||||
"beforeEach": false,
|
||||
"after": false,
|
||||
"afterEach": false
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue