forked from pinballmap/pbm-react
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
33 lines (33 loc) · 835 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
{
"plugins": ["react", "react-native"],
"settings": {
"react": {
"version": "detect" // React version. "detect" automatically picks the version you have installed.
}
},
"parser": "@babel/eslint-parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"env": {
"es6": true,
"browser": true,
"node": true,
"jest": true,
"react-native/react-native": true
},
"extends": ["eslint:recommended", "plugin:react/recommended"],
"rules": {
"react-native/no-unused-styles": "off",
"react-native/split-platform-components": 2,
"react-native/no-inline-styles": 0,
"react-native/no-color-literals": 0,
"react/display-name": "off",
"no-extra-boolean-cast": "off",
"react/prop-types": 0
}
}