Move spec globals to spec eslintrc
This commit is contained in:
parent
a50508e8d8
commit
e9416129ee
|
@ -5,12 +5,6 @@ globals:
|
||||||
every: true
|
every: true
|
||||||
after: true
|
after: true
|
||||||
constantly: true
|
constantly: true
|
||||||
expect: true
|
|
||||||
source: true
|
|
||||||
stub: true
|
|
||||||
spy: true
|
|
||||||
chai: true
|
|
||||||
sinon: true
|
|
||||||
|
|
||||||
rules:
|
rules:
|
||||||
camelcase: [2, {properties: "always"}]
|
camelcase: [2, {properties: "always"}]
|
||||||
|
|
|
@ -1,6 +1,14 @@
|
||||||
env:
|
env:
|
||||||
mocha: true
|
mocha: true
|
||||||
|
|
||||||
|
globals:
|
||||||
|
expect: true
|
||||||
|
source: true
|
||||||
|
stub: true
|
||||||
|
spy: true
|
||||||
|
chai: true
|
||||||
|
sinon: true
|
||||||
|
|
||||||
rules:
|
rules:
|
||||||
no-unused-expressions: 0
|
no-unused-expressions: 0
|
||||||
max-nested-callbacks: 0
|
max-nested-callbacks: 0
|
||||||
|
|
Loading…
Reference in New Issue