-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.yaml
66 lines (60 loc) · 1.06 KB
/
.eslintrc.yaml
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
---
extends:
- airbnb-base
- plugin:import/warnings
env:
browser: true
jest: true
plugins:
- import
settings:
import/resolver:
webpack:
node: { }
rules:
sort-imports:
- error
- ignoreDeclarationSort: true
no-multiple-empty-lines: 0
arrow-parens: 0
max-classes-per-file: 0
import/extensions: 0
import/no-cycle:
- error
- maxDepth: 2
import/order: off
import/newline-after-import:
- error
- count: 2
padding-line-between-statements:
- error
- blankLine: always
prev: "*"
next: return
- blankLine: always
prev: "*"
next: export
no-param-reassign:
- 2
- props: false
no-console:
- error
- allow:
- warn
- error
object-curly-newline:
- error
- ImportDeclaration:
minProperties: 1
multiline: true
consistent: true
ObjectExpression:
consistent: true
minProperties: 3
require-await:
- error
parserOptions:
parser: "@babel/eslint-parser"
requireConfigFile: false
globals:
inject: false