linting rules for tests
This commit is contained in:
parent
1e11926ebc
commit
8f4152dfb7
|
@ -1,4 +1,5 @@
|
|||
node_modules/*
|
||||
coverage/*
|
||||
examples/node_modules/*
|
||||
examples/android/*
|
||||
examples/ios/*
|
||||
|
|
12
.eslintrc
12
.eslintrc
|
@ -19,18 +19,6 @@
|
|||
"browser": true
|
||||
},
|
||||
|
||||
"globals": {
|
||||
"options": true,
|
||||
"describe": true,
|
||||
"it": true,
|
||||
"before": true,
|
||||
"beforeEach": true,
|
||||
"after": true,
|
||||
"afterEach": true,
|
||||
"jest": true,
|
||||
"expect": true
|
||||
},
|
||||
|
||||
"rules": {
|
||||
"no-console": 0,
|
||||
"comma-dangle": 0,
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"globals": {
|
||||
"options": true,
|
||||
"describe": true,
|
||||
"it": true,
|
||||
"before": true,
|
||||
"beforeEach": true,
|
||||
"after": true,
|
||||
"afterEach": true,
|
||||
"jest": true,
|
||||
"expect": true
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue