-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.eslintrc.js
More file actions
58 lines (58 loc) · 1.21 KB
/
Copy path.eslintrc.js
File metadata and controls
58 lines (58 loc) · 1.21 KB
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
module.exports = {
"extends": [
"airbnb",
"plugin:flowtype/recommended",
"plugin:react/recommended",
"prettier",
"prettier/flowtype",
"prettier/react"
],
"plugins": [
"flowtype",
"react",
"prettier",
"react-native"
],
"parserOptions": {
"ecmaVersion": 2017,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"env": {
"es6": true,
"node": true
},
"rules": {
"no-use-before-define": 0,
"react/prefer-stateless-function": 1,
"no-shadow": 0,
"no-return-assign": 1,
"react-native/no-unused-styles": 1,
"react-native/split-platform-components": 1,
"no-underscore-dangle": 0,
"global-require": 0,
"prefer-destructuring": 0,
"import/no-unresolved": 1,
"no-param-reassign": 0,
"consistent-return": 1,
"react/no-multi-comp": 1,
"no-confusing-arrow": 0,
"react/jsx-filename-extension": 0,
"no-console": 0,
"prettier/prettier": "error",
"no-unused-vars": 0,
"import/first": 0,
"import/prefer-default-export": 0,
"no-case-declarations": 0,
"react/display-name": 0,
"react/prop-types": 0,
"react/sort-comp": 0,
"react/no-string-refs": 0,
"no-unused-expressions": 0,
"no-undef": 0,
"react/no-unused-prop-types": 0,
"no-plusplus" : 0
},
};