Separate .eslintrc for code and tests
Change-Id: I344f81f0efd79ea8cd5c643ba3d7fa82bdf1fc99
This commit is contained in:
parent
85b5867286
commit
276af7d061
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
root: true
|
||||
plugins:
|
||||
- react
|
||||
ecmaFeatures:
|
||||
|
@ -165,10 +166,6 @@
|
|||
react/sort-comp: 0
|
||||
env:
|
||||
browser: true
|
||||
node: true
|
||||
mocha: true
|
||||
amd: true
|
||||
globals:
|
||||
app: false
|
||||
assert: false
|
||||
sinon: false
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
---
|
||||
rules:
|
||||
prefer-arrow-callback: 0
|
||||
env:
|
||||
node: true
|
||||
mocha: true
|
||||
globals:
|
||||
assert: false
|
||||
sinon: false
|
Loading…
Reference in New Issue