linting rules for tests

This commit is contained in:
Martin Bielik 2016-05-17 13:38:25 +02:00
parent 1e11926ebc
commit 8f4152dfb7
3 changed files with 14 additions and 12 deletions

View File

@ -1,4 +1,5 @@
node_modules/*
coverage/*
examples/node_modules/*
examples/android/*
examples/ios/*

View File

@ -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,

13
__tests__/.eslintrc Normal file
View File

@ -0,0 +1,13 @@
{
"globals": {
"options": true,
"describe": true,
"it": true,
"before": true,
"beforeEach": true,
"after": true,
"afterEach": true,
"jest": true,
"expect": true
}
}