-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
executable file
·47 lines (47 loc) · 953 Bytes
/
.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
39
40
41
42
43
44
45
46
47
{
"env": {
"react-native/react-native": true,
"jest": true
},
"parserOptions": {
"ecmaFeatures": {
"jsx": true
}
},
"settings": {
"react": {
"version": "16"
}
},
"globals": {
"it": true
},
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"react-native",
"prettier",
"prettier/react"
],
"plugins": ["react", "react-native", "prettier", "jest"],
"rules": {
"prettier/prettier": [
"error",
{
"printWidth": 100,
"semi": false,
"singleQuote": true,
"trailingComma": "none"
}
],
"class-methods-use-this": 0,
"react/prefer-stateless-function": 0,
"react/no-did-mount-set-state": 0,
"react/jsx-no-bind": 0,
"react/jsx-closing-tag-location": 2,
"react-native/no-color-literals": 0,
"import/no-commonjs": 0,
"import/no-nodejs-modules": 0,
"import/no-unresolved": 0
}
}