-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
35 lines (35 loc) · 900 Bytes
/
.eslintrc
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
{
"extends": ["airbnb"],
"plugins": [
"@typescript-eslint",
"react-hooks"
],
"parser": "@typescript-eslint/parser",
"rules": {
"global-require": 0,
"no-restricted-syntax": ["error", "LabeledStatement", "WithStatement"],
"no-underscore-dangle": ["error",
{
"allow": [
"_id",
"_navigation",
"__typename",
"_config"
]
}
],
"react/jsx-filename-extension": 0,
"react/no-did-mount-set-state": 0,
"react/state-in-constructor": 0,
// "react/sort-comp": 0,
"function-paren-newline": ["error", "consistent"],
"no-console": 0,
"import/no-extraneous-dependencies": ["error", { "devDependencies": ["@storybook/react-native"] }],
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "warn"
},
"globals": {
"__DEV__": true,
"navigator": true
}
}