-
Notifications
You must be signed in to change notification settings - Fork 42
Expand file tree
/
Copy path.eslintrc.yaml
More file actions
139 lines (138 loc) · 2.56 KB
/
Copy path.eslintrc.yaml
File metadata and controls
139 lines (138 loc) · 2.56 KB
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
extends:
- airbnb-base
- plugin:jsdoc/recommended-error
parserOptions:
ecmaVersion: 2022
env:
node: true
mocha: true
es6: true
plugins:
- chai-friendly
- import
- json-format
- no-only-tests
- jsdoc
rules:
jsdoc/require-jsdoc: 0
jsdoc/check-tag-names:
- error
- definedTags:
- swagger
jsdoc/check-line-alignment:
- error
- always
arrow-parens:
- error
- as-needed
array-bracket-spacing:
- error
- always
- objectsInArrays: false
arraysInArrays: false
singleValue: false
eqeqeq: 0
chai-friendly/no-unused-expressions: 2
comma-dangle:
- error
- always-multiline
consistent-return: 0
curly:
- error
- all
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: 0
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
lines-between-class-members:
- error
- enforce:
- blankLine: always
prev: method
next: method
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
require-await: 1
no-only-tests/no-only-tests: error
no-await-in-loop: 0 # allows intentional sequential processing of async operations
overrides:
- files:
- src/**/*test.js
- scripts/declarations/validate/*.js
rules:
func-names: 0
- files:
- scripts/**/*.js
- bin/**/*.js
rules:
func-names: 0
import/no-extraneous-dependencies: 0
- files:
- src/**/*[iI]nterface.js
rules:
no-unused-vars: 0
require-yield: 0
class-methods-use-this: 0
no-empty-function: 0