-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.eslintrc.json
36 lines (36 loc) · 957 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
{
"extends": "airbnb",
"parser": "babel-eslint",
"globals": {
"__DEV__": true,
"jasmine": true,
"device": true,
"element": true,
"by": true,
"waitFor": true
},
"env": {
"jest": true
},
"rules": {
"max-len": [1, {
"code": 100,
"ignoreComments": true,
"ignoreStrings": true,
"ignoreTemplateLiterals": true,
"ignoreUrls": true
}],
"react/jsx-filename-extension": 0,
"react/sort-comp": 0,
"no-restricted-properties": 1,
"no-underscore-dangle": "off",
"import/no-extraneous-dependencies": ["error", {"devDependencies": ["**/*.test.js", "**/*.spec.js", "**/__mocks__/*"]}]
},
"settings": {
"import/resolver": {
"node": {
"extensions": [".js", ".android.js", ".ios.js", ".e2e.js"]
}
}
}
}