-
Notifications
You must be signed in to change notification settings - Fork 7
/
.eslintrc
37 lines (37 loc) · 985 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
36
37
{
"extends": ["airbnb", "prettier"],
"parser": "babel-eslint",
"plugins": [
"prettier",
"react",
"react-native",
"eslint-plugin-import-helpers"
],
"rules": {
"prettier/prettier": ["error"],
"global-require": 0,
"no-use-before-define": 0,
"react/forbid-prop-types": 0,
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"react/jsx-fragments": 0,
"react/jsx-props-no-spreading": 0,
"react/no-unstable-nested-components": 0,
"react/require-default-props": 0,
"react-native/no-inline-styles": 2,
"react-native/no-single-element-style-arrays": 2,
"react-native/no-unused-styles": 2,
"react-native/sort-styles": [
"error",
"asc",
{ "ignoreClassNames": true, "ignoreStyleProperties": false }
]
},
"globals": {
"__DEV__": "readonly",
"describe": "readonly",
"expect": "readonly",
"fetch": "readonly",
"it": "readonly",
"jest": "readonly"
}
}