forked from alcat2008/react-native-auto-expanding-textinput
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.json
76 lines (76 loc) · 1.71 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
{
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"node": true
},
"globals": {
"React": true
},
"extends": "eslint:recommended",
"parser": "babel-eslint",
"parserOptions": {
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
"jsx": true
},
"sourceType": "module"
},
"plugins": [
"react",
"flow-vars"
],
"rules": {
"arrow-body-style": 0,
"comma-dangle": 0,
"consistent-return": 0,
"func-names": 0,
"max-len": 0,
"no-param-reassign": 0,
"no-return-assign": 0,
"no-console": 0,
"no-extra-boolean-cast": 0,
"no-unused-vars": 0,
"prefer-const": 0,
"comma-spacing": 1,
"flow-vars/define-flow-type": 1,
"flow-vars/use-flow-type": 1,
"key-spacing": [1, {
"beforeColon": false,
"afterColon": true
}],
"no-case-declarations": 1,
"no-extra-bind": 1,
"no-mixed-spaces-and-tabs": 1,
"no-multi-spaces": 1,
"quotes": [1, "single"],
"semi": 1,
"space-infix-ops": 1,
"block-scoped-var": 2,
"no-const-assign": 2,
"no-constant-condition": 2,
"no-duplicate-case": 2,
"no-dupe-args": 2,
"no-dupe-keys": 2,
"no-else-return": 2,
"no-empty": 2,
"no-empty-character-class": 2,
"no-eq-null": 2,
"no-undef": 2,
"no-cond-assign": 2,
"no-native-reassign": 2,
"no-undef-init": 2,
"no-undefined": 2,
"no-unexpected-multiline": 2,
"no-unreachable": 2,
"no-unused-expressions": 2,
"react/sort-comp": 0,
"react/no-multi-comp": 0,
"react/prop-types": 0,
"react/prefer-es6-class": 0,
"react/prefer-stateless-function": 0,
"react/jsx-closing-bracket-location": 2,
"react/jsx-no-bind": 0
}
}