forked from EdgeApp/edge-react-gui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
38 lines (38 loc) · 1.22 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
{
"extends": [
"standard-kit/prettier",
"standard-kit/prettier/node",
"standard-kit/prettier/jsx",
"standard-kit/prettier/flow",
"plugin:react-native/all",
"plugin:react/recommended"
],
"globals": {
"fetch": true
},
"parser": "babel-eslint",
"plugins": ["react-native", "react", "simple-import-sort"],
"rules": {
"camelcase": "warn",
"flowtype/require-valid-file-annotation": [2, "always"],
"no-var": "error",
"react-native/no-inline-styles": 0,
"react-native/no-raw-text": ["error", { "skip": ["FormattedText", "T", "B"] }],
"react-native/no-unused-styles": 0,
"react-native/split-platform-components": 2,
"react/jsx-indent-props": ["error", 2],
"react/jsx-no-duplicate-props": ["error", { "ignoreCase": true }],
"react/no-array-index-key": "error",
"react/no-string-refs": 0,
"react/no-typos": "error",
"react/prop-types": 0,
"react/self-closing-comp": ["error", { "component": true }],
"simple-import-sort/sort": "error",
"no-prototype-builtins": "off",
"react/jsx-handler-names": "off",
"react-native/sort-styles": "off"
},
"settings": {
"react": { "pragma": "React", "version": "16.8.0", "flowVersion": "0.66" }
}
}