forked from calvinkei/react-native-autoheight-webview
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
41 lines (41 loc) · 1.03 KB
/
.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
{
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"node": true
},
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 8,
"ecmaFeatures": {
"jsx": true,
"experimentalObjectRestSpread": true
},
"sourceType": "module"
},
"rules": {
"no-const-assign": "error",
"no-undef": "error",
"no-unused-vars": "warn",
"no-this-before-super": "warn",
"no-unreachable": "warn",
"constructor-super": "warn",
"valid-typeof": "warn",
"react-native/no-unused-styles": "warn",
"react-native/split-platform-components": "warn",
"react-native/no-inline-styles": "off",
"react-native/no-color-literals": "off"
},
"plugins": [
"react",
"jsx-a11y",
"react-native"
],
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"plugin:react-native/all",
"plugin:jsx-a11y/recommended"
]
}