-
Notifications
You must be signed in to change notification settings - Fork 6
/
.eslintrc.json
37 lines (36 loc) · 941 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
{
"extends": [
"airbnb",
"prettier"
],
"parser": "babel-eslint",
"plugins": [
"simple-import-sort",
"import",
"module-resolver",
"react",
"react-native",
"prettier"
],
"rules": {
"no-use-before-define": "off",
"react/jsx-filename-extension": "off",
"react/prop-types": "off",
"comma-dangle": "off",
"react/no-string-refs": "off",
"react/no-access-state-in-setstate": "off",
"simple-import-sort/imports": "error",
"simple-import-sort/exports": "error",
"import/no-extraneous-dependencies": ["error", {"devDependencies": ["**/*.test.js", "**/*.spec.js", "**/__test__/*.js" ]}],
"module-resolver/use-alias": 2
},
"settings": {
"import/resolver": {
"babel-module": {}
}
},
"env": {
"jest": true,
"browser": true
}
}