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