forked from react-navigation/react-navigation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
48 lines (48 loc) · 1.09 KB
/
.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
42
43
44
45
46
47
48
{
"extends": "satya164",
"plugins": ["simple-import-sort"],
"settings": {
"react": {
"version": "16"
},
"import/core-modules": [
"@react-navigation/core",
"@react-navigation/native",
"@react-navigation/routers",
"@react-navigation/stack",
"@react-navigation/native-stack",
"@react-navigation/drawer",
"@react-navigation/bottom-tabs",
"@react-navigation/material-top-tabs",
"@react-navigation/elements",
"@react-navigation/devtools",
"react-native-drawer-layout",
"react-native-tab-view"
]
},
"env": {
"browser": true,
"node": true
},
"rules": {
"import/no-default-export": "error",
"simple-import-sort/imports": "error",
"simple-import-sort/exports": "error"
},
"overrides": [{
"files":["example/e2e/tests/*.ts"],
"rules": {
"jest/*": "off"
}
}, {
"files":["scripts/*.js"],
"rules": {
"import/no-commonjs": "off"
}
}, {
"files":["**/config/*.{ts,js}", "*.config.{ts,js}"],
"rules": {
"import/no-default-export": "off"
}
}]
}