-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
90 lines (90 loc) · 1.84 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
{
"extends": "@pumpn",
"rules": {
"import/no-unused-modules": [
"error",
{
"ignoreExports": [
"./src/index.js"
],
"missingExports": true,
"unusedExports": false
}
],
"max-statements": "off",
"max-lines-per-function": "off",
"no-constructor-return": "off",
"no-sync": "off",
"no-invalid-this": "off",
"no-bitwise": "off",
"complexity": "off",
"jsdoc/check-examples": [
"warn",
{
"configFile": "./.example.eslintrc"
}
],
"jsdoc/require-jsdoc": [
"warn",
{
"publicOnly": true
}
],
"flowtype/boolean-style": "off",
"flowtype/define-flow-type": "off",
"flowtype/delimiter-dangle": "off",
"flowtype/generic-spacing": "off",
"flowtype/no-primitive-constructor-types": "off",
"flowtype/no-weak-types": "off",
"flowtype/object-type-delimiter": "off",
"flowtype/require-exact-type": "off",
"flowtype/require-indexer-name": "off",
"flowtype/require-parameter-type": "off",
"flowtype/require-return-type": "off",
"flowtype/require-types-at-top": "off",
"flowtype/require-valid-file-annotation": "off",
"flowtype/semi": "off",
"flowtype/space-after-type-colon": "off",
"flowtype/space-before-generic-bracket": "off",
"flowtype/space-before-type-colon": "off",
"flowtype/union-intersection-spacing": "off",
"flowtype/use-flow-type": "off",
"flowtype/valid-syntax": "off",
"operator-linebreak": [
"error",
"after",
{
"overrides": {
"?": "before",
":": "before",
"|>": "before"
}
}
],
"id-length": [
"error",
{
"exceptions": [
"x",
"y",
"z",
"_"
],
"max": 35,
"min": 2
}
]
},
"parserOptions": {
"allowAwaitOutsideFunction": true
},
"overrides": [
{
"files": "babel.config.js",
"rules": {
"import/no-unused-modules": "off",
"import/no-commonjs": "off"
}
}
]
}