-
Notifications
You must be signed in to change notification settings - Fork 106
/
.eslintrc
33 lines (33 loc) · 830 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
{
"parser": "babel-eslint",
"env": {
"browser": true,
"node": true,
"jest": true
},
"plugins": [
"react",
"react-native",
"flowtype",
"import"
],
"extends": ["eslint:recommended", "plugin:react/recommended"],
"rules": {
"comma-dangle": [2, "always-multiline"],
"quotes": [2, "single", { "allowTemplateLiterals": true }],
"react/prop-types": 0,
"react/jsx-no-bind": 0,
"react/display-name": 0,
"new-cap": 0,
"react-native/no-unused-styles": 2,
"react-native/split-platform-components": 2,
"react-native/no-inline-styles": 1,
"react-native/no-color-literals": 0,
"no-class-assign": 1,
"no-console": 1,
"object-curly-spacing": [1, "always"],
"flowtype/define-flow-type": 1,
"flowtype/use-flow-type": 1,
"import/first": 2
}
}