-
Notifications
You must be signed in to change notification settings - Fork 3
/
.eslintrc.yaml
53 lines (51 loc) · 961 Bytes
/
.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
root: true
env:
es6: true
browser: true
node: true
jasmine: true
jest: true
parser: "@babel/eslint-parser"
extends: airbnb-base
plugins: [jasmine]
rules:
arrow-parens: [2, as-needed]
func-names: [2, as-needed]
no-plusplus: [2, allowForLoopAfterthoughts: true]
no-bitwise: 0
no-multi-assign: 0
no-param-reassign: 0
padding-line-between-statements:
- 2
-
blankLine: always
prev: '*'
next: return
-
blankLine: always
prev: [const, let, var]
next: '*'
-
blankLine: always
prev: '*'
next: [const, let, var]
-
blankLine: any
prev: [const, let, var]
next: [const, let, var]
-
blankLine: always
prev: directive
next: '*'
-
blankLine: any
prev: directive
next: directive
-
blankLine: always
prev: '*'
next: block-like
-
blankLine: always
prev: block-like
next: '*'