Skip to content

Commit 8f4152d

Browse files
committed
linting rules for tests
1 parent 1e11926 commit 8f4152d

File tree

3 files changed

+14
-12
lines changed

3 files changed

+14
-12
lines changed

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
node_modules/*
2+
coverage/*
23
examples/node_modules/*
34
examples/android/*
45
examples/ios/*

.eslintrc

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,6 @@
1919
"browser": true
2020
},
2121

22-
"globals": {
23-
"options": true,
24-
"describe": true,
25-
"it": true,
26-
"before": true,
27-
"beforeEach": true,
28-
"after": true,
29-
"afterEach": true,
30-
"jest": true,
31-
"expect": true
32-
},
33-
3422
"rules": {
3523
"no-console": 0,
3624
"comma-dangle": 0,

__tests__/.eslintrc

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"globals": {
3+
"options": true,
4+
"describe": true,
5+
"it": true,
6+
"before": true,
7+
"beforeEach": true,
8+
"after": true,
9+
"afterEach": true,
10+
"jest": true,
11+
"expect": true
12+
}
13+
}

0 commit comments

Comments
 (0)