This repository has been archived by the owner on Apr 25, 2019. It is now read-only.
forked from hahalml/react-native-pjsip-app
-
Notifications
You must be signed in to change notification settings - Fork 5
/
.eslintrc
60 lines (60 loc) · 1.44 KB
/
.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
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
59
60
{
"rules": {
"semi": [
1,
"never"
],
"indent": 0,
"no-console": 0,
"no-undef": 0,
"no-unused-vars": 0,
"no-dupe-keys": 2,
"no-useless-rename": 2,
"no-useless-constructor": 2,
"prefer-const": 1,
"prefer-spread": 1,
"template-curly-spacing": 1,
"react/prefer-es6-class": 2,
"react/prop-types": 1,
"react/jsx-no-undef": 1,
"react/jsx-no-duplicate-props": 1,
"react/jsx-pascal-case": 2,
"react/jsx-closing-bracket-location": 2,
"react/jsx-boolean-value": 2,
"react/jsx-wrap-multilines": 2,
"react/self-closing-comp": 2,
"react/sort-comp": 2,
"react/no-is-mounted": 2,
"react/no-array-index-key": 2,
"react/no-children-prop": 2,
"react/no-danger": 1,
"react/no-deprecated": 2,
"react/no-unescaped-entities": 1,
"react/require-render-return": 2,
"react/jsx-curly-spacing": 1,
"react/jsx-no-comment-textnodes": 1,
"react-native/no-unused-styles": 2,
"react-native/split-platform-components": 2,
"react-native/no-inline-styles": 2,
"react-native/no-color-literals": 2,
"no-case-declarations": "off"
},
"parser": "babel-eslint",
"env": {
"es6": true,
"browser": false
},
"extends": [
"eslint:recommended",
"plugin:react/recommended"
],
"ecmaFeatures": {
"modules": true,
"jsx": true,
"experimentalObjectRestSpread": true
},
"plugins": [
"react",
"react-native"
]
}