-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.yaml
100 lines (100 loc) · 1.73 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
extends:
- airbnb-base
parserOptions:
sourceType: module
env:
browser: true
es6: true
plugins:
- json-format
rules:
arrow-parens:
- error
- as-needed
array-bracket-spacing:
- error
- always
- objectsInArrays: false
arraysInArrays: false
singleValue: false
eqeqeq: 0
comma-dangle:
- error
- always-multiline
consistent-return: 0
function-paren-newline:
- error
- multiline
implicit-arrow-linebreak:
- 'off'
import/extensions:
- error
- always
- ignorePackages: true
import/prefer-default-export: 0
import/order:
- error
- newlines-between: always
alphabetize:
order: asc
caseInsensitive: true
import/namespace:
- error
- allowComputed: true
indent:
- error
- 2
max-len: 0
object-curly-newline:
- error
- multiline: true
no-console: error
no-continue: 0
no-param-reassign: 0
no-plusplus: 0
no-restricted-syntax: 0
no-shadow: 0
no-tabs: 0
no-underscore-dangle: 0
no-unused-expressions: 0
no-unused-vars:
- error
- argsIgnorePattern: next
no-use-before-define: 0
padding-line-between-statements:
- error
- blankLine: always
prev: '*'
next: return
- blankLine: always
prev:
- const
- let
- var
next: '*'
- blankLine: any
prev:
- const
- let
- var
next:
- const
- let
- var
multiline-comment-style:
- error
- separate-lines
eol-last:
- error
- always
new-cap:
- error
- properties: false
import/no-extraneous-dependencies:
- error
- devDependencies: true
overrides:
- files:
- test/**/*.js
rules:
no-console: 0