forked from tomauty/react-native-chart
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
43 lines (43 loc) · 1.25 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
{
"parser": "babel-eslint",
"globals": {},
"env": {
"node": true
},
"settings": {
"ecmascript": 6,
"jsx": true
},
"plugins": [
"react",
"react-native",
"flowtype",
"flow-vars"
],
"extends": "airbnb",
"rules": {
"arrow-body-style": [0, "as-needed"],
"camelcase": 0,
"flow-vars/define-flow-type": 1,
"flow-vars/use-flow-type": 1,
"indent": [2, "tab"],
"max-len": [2, 150, 4, {"ignoreComments": true, "ignoreUrls": true, "ignorePattern": "^\\s*var\\s.+=\\s*require\\s*\\("}],
"no-alert": 0,
"no-console": 1,
"no-labels": 0,
"no-param-reassign": [2, {"props": false}],
"no-underscore-dangle": 0,
"no-unused-vars": [1, {"args": "after-used", "argsIgnorePattern": "^_"}],
"no-use-before-define": 0,
"quote-props": 0,
"quotes": 0,
"react-native/no-unused-styles": 1,
"react/jsx-indent": [2, "tab"],
"react/jsx-indent-props": [2, "tab"],
"react/jsx-no-bind": [1, { "allowArrowFunctions": true }],
"react/no-multi-comp": 0,
"react/prefer-stateless-function": 0,
"space-infix-ops": 0,
"strict": 0
}
}