-
Notifications
You must be signed in to change notification settings - Fork 67
/
.eslintrc
33 lines (33 loc) · 851 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
{
"extends": ["airbnb", "prettier"],
"parser": "babel-eslint",
"plugins": [
"prettier",
"react",
"react-native",
"eslint-plugin-import-helpers"
],
"rules": {
"prettier/prettier": ["error"],
"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-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",
"it": "readonly",
"jest": "readonly"
}
}