-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.json
41 lines (41 loc) · 955 Bytes
/
.eslintrc.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
"extends": [
"airbnb",
"jest-enzyme"
],
"parser": "babel-eslint",
"plugins": [
"flowtype",
"jest"
],
"rules": {
"function-paren-newline": [2, "consistent"],
"react/jsx-filename-extension": [1, { "extensions": [".js"] }],
"import/extensions": [2, "ignorePackages"],
"import/no-unresolved": [2, { "ignore": ["json-api"] }],
"import/prefer-default-export": 0,
"no-prototype-builtins": 0
},
"overrides": [
{
"files": [
"**/{__tests__,__mocks__}/**/*.js"
],
"globals": {
"mount": false,
"shallow": false
},
"env": {
"jest/globals": true
}
}
],
"settings": {
"import/extensions": [
".js"
],
"import/ignore": [
"json-api"
]
}
}