forked from yugabyte/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
59 lines (58 loc) · 1.36 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
{
"root": true,
"parser": "babel-eslint",
"env": {
"browser": true,
"node": true
},
"plugins": [
"react",
"jsx-a11y",
"import",
],
"extends": [
"airbnb",
"eslint:recommended",
"plugin:react/recommended",
"xo-space/esnext",
],
"rules": {
"arrow-parens": 0,
"camelcase": 0,
"comma-dangle": [1, "always-multiline"],
"import/no-extraneous-dependencies": 0,
"import/prefer-default-export": 0,
"key-spacing": ["error", {
"multiLine": {
"mode": "minimum",
}
}],
"new-cap": ["error", {
"capIsNewExceptions": ["DrawerNavigator", "StackNavigator", "TabNavigator"]
}],
"no-cond-assign": [2, "except-parens"],
"no-console": 1,
"no-debugger": 1,
"no-multi-assign": 0,
"no-return-assign": [2, "except-parens"],
"no-unused-vars": 1,
"no-use-before-define": 0,
"no-warning-comments": 0,
"object-curly-spacing": 0,
"one-var": 0,
"one-var-declaration-per-line": 0,
"react/forbid-prop-types": 0,
"react/jsx-closing-bracket-location": 0,
"react/jsx-first-prop-new-line": 0,
"react/prefer-stateless-function": 0,
"react/require-default-props": 0,
"react/jsx-filename-extension": [1, {"extensions": [".js", ".jsx"]}],
},
"settings": {
"import/resolver": {
"node": {
"paths": ["./src"]
}
}
},
}