@anolilab/eslint-config 16.2.13 → 16.2.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +10 -0
- package/dist/index.cjs +2 -2
- package/dist/index.d.cts +537 -533
- package/dist/index.d.mts +537 -533
- package/dist/index.d.ts +537 -533
- package/dist/index.mjs +6 -6
- package/package.json +26 -27
package/dist/index.d.cts
CHANGED
|
@@ -11,483 +11,478 @@ import { FlatGitignoreOptions } from 'eslint-config-flat-gitignore';
|
|
|
11
11
|
interface RuleOptions {
|
|
12
12
|
/**
|
|
13
13
|
* Enforce linebreaks after opening and before closing array brackets
|
|
14
|
-
* @see https://eslint.style/rules/
|
|
14
|
+
* @see https://eslint.style/rules/array-bracket-newline
|
|
15
15
|
*/
|
|
16
16
|
'@stylistic/array-bracket-newline'?: Linter.RuleEntry<StylisticArrayBracketNewline>
|
|
17
17
|
/**
|
|
18
18
|
* Enforce consistent spacing inside array brackets
|
|
19
|
-
* @see https://eslint.style/rules/
|
|
19
|
+
* @see https://eslint.style/rules/array-bracket-spacing
|
|
20
20
|
*/
|
|
21
21
|
'@stylistic/array-bracket-spacing'?: Linter.RuleEntry<StylisticArrayBracketSpacing>
|
|
22
22
|
/**
|
|
23
23
|
* Enforce line breaks after each array element
|
|
24
|
-
* @see https://eslint.style/rules/
|
|
24
|
+
* @see https://eslint.style/rules/array-element-newline
|
|
25
25
|
*/
|
|
26
26
|
'@stylistic/array-element-newline'?: Linter.RuleEntry<StylisticArrayElementNewline>
|
|
27
27
|
/**
|
|
28
28
|
* Require parentheses around arrow function arguments
|
|
29
|
-
* @see https://eslint.style/rules/
|
|
29
|
+
* @see https://eslint.style/rules/arrow-parens
|
|
30
30
|
*/
|
|
31
31
|
'@stylistic/arrow-parens'?: Linter.RuleEntry<StylisticArrowParens>
|
|
32
32
|
/**
|
|
33
33
|
* Enforce consistent spacing before and after the arrow in arrow functions
|
|
34
|
-
* @see https://eslint.style/rules/
|
|
34
|
+
* @see https://eslint.style/rules/arrow-spacing
|
|
35
35
|
*/
|
|
36
36
|
'@stylistic/arrow-spacing'?: Linter.RuleEntry<StylisticArrowSpacing>
|
|
37
37
|
/**
|
|
38
38
|
* Disallow or enforce spaces inside of blocks after opening block and before closing block
|
|
39
|
-
* @see https://eslint.style/rules/
|
|
39
|
+
* @see https://eslint.style/rules/block-spacing
|
|
40
40
|
*/
|
|
41
41
|
'@stylistic/block-spacing'?: Linter.RuleEntry<StylisticBlockSpacing>
|
|
42
42
|
/**
|
|
43
43
|
* Enforce consistent brace style for blocks
|
|
44
|
-
* @see https://eslint.style/rules/
|
|
44
|
+
* @see https://eslint.style/rules/brace-style
|
|
45
45
|
*/
|
|
46
46
|
'@stylistic/brace-style'?: Linter.RuleEntry<StylisticBraceStyle>
|
|
47
47
|
/**
|
|
48
48
|
* Require or disallow trailing commas
|
|
49
|
-
* @see https://eslint.style/rules/
|
|
49
|
+
* @see https://eslint.style/rules/comma-dangle
|
|
50
50
|
*/
|
|
51
51
|
'@stylistic/comma-dangle'?: Linter.RuleEntry<StylisticCommaDangle>
|
|
52
52
|
/**
|
|
53
53
|
* Enforce consistent spacing before and after commas
|
|
54
|
-
* @see https://eslint.style/rules/
|
|
54
|
+
* @see https://eslint.style/rules/comma-spacing
|
|
55
55
|
*/
|
|
56
56
|
'@stylistic/comma-spacing'?: Linter.RuleEntry<StylisticCommaSpacing>
|
|
57
57
|
/**
|
|
58
58
|
* Enforce consistent comma style
|
|
59
|
-
* @see https://eslint.style/rules/
|
|
59
|
+
* @see https://eslint.style/rules/comma-style
|
|
60
60
|
*/
|
|
61
61
|
'@stylistic/comma-style'?: Linter.RuleEntry<StylisticCommaStyle>
|
|
62
62
|
/**
|
|
63
63
|
* Enforce consistent spacing inside computed property brackets
|
|
64
|
-
* @see https://eslint.style/rules/
|
|
64
|
+
* @see https://eslint.style/rules/computed-property-spacing
|
|
65
65
|
*/
|
|
66
66
|
'@stylistic/computed-property-spacing'?: Linter.RuleEntry<StylisticComputedPropertySpacing>
|
|
67
67
|
/**
|
|
68
68
|
* Enforce consistent line breaks after opening and before closing braces
|
|
69
|
-
* @see https://eslint.style/rules/
|
|
69
|
+
* @see https://eslint.style/rules/curly-newline
|
|
70
70
|
*/
|
|
71
71
|
'@stylistic/curly-newline'?: Linter.RuleEntry<StylisticCurlyNewline>
|
|
72
72
|
/**
|
|
73
73
|
* Enforce consistent newlines before and after dots
|
|
74
|
-
* @see https://eslint.style/rules/
|
|
74
|
+
* @see https://eslint.style/rules/dot-location
|
|
75
75
|
*/
|
|
76
76
|
'@stylistic/dot-location'?: Linter.RuleEntry<StylisticDotLocation>
|
|
77
77
|
/**
|
|
78
78
|
* Require or disallow newline at the end of files
|
|
79
|
-
* @see https://eslint.style/rules/
|
|
79
|
+
* @see https://eslint.style/rules/eol-last
|
|
80
80
|
*/
|
|
81
81
|
'@stylistic/eol-last'?: Linter.RuleEntry<StylisticEolLast>
|
|
82
|
-
/**
|
|
83
|
-
* Require or disallow spacing between function identifiers and their invocations
|
|
84
|
-
* @see https://eslint.style/rules/ts/function-call-spacing
|
|
85
|
-
*/
|
|
86
|
-
'@stylistic/func-call-spacing'?: Linter.RuleEntry<StylisticFuncCallSpacing>
|
|
87
82
|
/**
|
|
88
83
|
* Enforce line breaks between arguments of a function call
|
|
89
|
-
* @see https://eslint.style/rules/
|
|
84
|
+
* @see https://eslint.style/rules/function-call-argument-newline
|
|
90
85
|
*/
|
|
91
86
|
'@stylistic/function-call-argument-newline'?: Linter.RuleEntry<StylisticFunctionCallArgumentNewline>
|
|
92
87
|
/**
|
|
93
88
|
* Require or disallow spacing between function identifiers and their invocations
|
|
94
|
-
* @see https://eslint.style/rules/
|
|
89
|
+
* @see https://eslint.style/rules/function-call-spacing
|
|
95
90
|
*/
|
|
96
91
|
'@stylistic/function-call-spacing'?: Linter.RuleEntry<StylisticFunctionCallSpacing>
|
|
97
92
|
/**
|
|
98
93
|
* Enforce consistent line breaks inside function parentheses
|
|
99
|
-
* @see https://eslint.style/rules/
|
|
94
|
+
* @see https://eslint.style/rules/function-paren-newline
|
|
100
95
|
*/
|
|
101
96
|
'@stylistic/function-paren-newline'?: Linter.RuleEntry<StylisticFunctionParenNewline>
|
|
102
97
|
/**
|
|
103
98
|
* Enforce consistent spacing around `*` operators in generator functions
|
|
104
|
-
* @see https://eslint.style/rules/
|
|
99
|
+
* @see https://eslint.style/rules/generator-star-spacing
|
|
105
100
|
*/
|
|
106
101
|
'@stylistic/generator-star-spacing'?: Linter.RuleEntry<StylisticGeneratorStarSpacing>
|
|
107
102
|
/**
|
|
108
103
|
* Enforce the location of arrow function bodies
|
|
109
|
-
* @see https://eslint.style/rules/
|
|
104
|
+
* @see https://eslint.style/rules/implicit-arrow-linebreak
|
|
110
105
|
*/
|
|
111
106
|
'@stylistic/implicit-arrow-linebreak'?: Linter.RuleEntry<StylisticImplicitArrowLinebreak>
|
|
112
107
|
/**
|
|
113
108
|
* Enforce consistent indentation
|
|
114
|
-
* @see https://eslint.style/rules/
|
|
109
|
+
* @see https://eslint.style/rules/indent
|
|
115
110
|
*/
|
|
116
111
|
'@stylistic/indent'?: Linter.RuleEntry<StylisticIndent>
|
|
117
112
|
/**
|
|
118
113
|
* Indentation for binary operators
|
|
119
|
-
* @see https://eslint.style/rules/
|
|
114
|
+
* @see https://eslint.style/rules/indent-binary-ops
|
|
120
115
|
*/
|
|
121
116
|
'@stylistic/indent-binary-ops'?: Linter.RuleEntry<StylisticIndentBinaryOps>
|
|
122
117
|
/**
|
|
123
118
|
* Enforce or disallow spaces inside of curly braces in JSX attributes and expressions
|
|
124
|
-
* @see https://eslint.style/rules/jsx
|
|
119
|
+
* @see https://eslint.style/rules/jsx-child-element-spacing
|
|
125
120
|
*/
|
|
126
121
|
'@stylistic/jsx-child-element-spacing'?: Linter.RuleEntry<[]>
|
|
127
122
|
/**
|
|
128
123
|
* Enforce closing bracket location in JSX
|
|
129
|
-
* @see https://eslint.style/rules/jsx
|
|
124
|
+
* @see https://eslint.style/rules/jsx-closing-bracket-location
|
|
130
125
|
*/
|
|
131
126
|
'@stylistic/jsx-closing-bracket-location'?: Linter.RuleEntry<StylisticJsxClosingBracketLocation>
|
|
132
127
|
/**
|
|
133
128
|
* Enforce closing tag location for multiline JSX
|
|
134
|
-
* @see https://eslint.style/rules/jsx
|
|
129
|
+
* @see https://eslint.style/rules/jsx-closing-tag-location
|
|
135
130
|
*/
|
|
136
131
|
'@stylistic/jsx-closing-tag-location'?: Linter.RuleEntry<StylisticJsxClosingTagLocation>
|
|
137
132
|
/**
|
|
138
133
|
* Disallow unnecessary JSX expressions when literals alone are sufficient or enforce JSX expressions on literals in JSX children or attributes
|
|
139
|
-
* @see https://eslint.style/rules/jsx
|
|
134
|
+
* @see https://eslint.style/rules/jsx-curly-brace-presence
|
|
140
135
|
*/
|
|
141
136
|
'@stylistic/jsx-curly-brace-presence'?: Linter.RuleEntry<StylisticJsxCurlyBracePresence>
|
|
142
137
|
/**
|
|
143
138
|
* Enforce consistent linebreaks in curly braces in JSX attributes and expressions
|
|
144
|
-
* @see https://eslint.style/rules/jsx
|
|
139
|
+
* @see https://eslint.style/rules/jsx-curly-newline
|
|
145
140
|
*/
|
|
146
141
|
'@stylistic/jsx-curly-newline'?: Linter.RuleEntry<StylisticJsxCurlyNewline>
|
|
147
142
|
/**
|
|
148
143
|
* Enforce or disallow spaces inside of curly braces in JSX attributes and expressions
|
|
149
|
-
* @see https://eslint.style/rules/jsx
|
|
144
|
+
* @see https://eslint.style/rules/jsx-curly-spacing
|
|
150
145
|
*/
|
|
151
146
|
'@stylistic/jsx-curly-spacing'?: Linter.RuleEntry<StylisticJsxCurlySpacing>
|
|
152
147
|
/**
|
|
153
148
|
* Enforce or disallow spaces around equal signs in JSX attributes
|
|
154
|
-
* @see https://eslint.style/rules/jsx
|
|
149
|
+
* @see https://eslint.style/rules/jsx-equals-spacing
|
|
155
150
|
*/
|
|
156
151
|
'@stylistic/jsx-equals-spacing'?: Linter.RuleEntry<StylisticJsxEqualsSpacing>
|
|
157
152
|
/**
|
|
158
153
|
* Enforce proper position of the first property in JSX
|
|
159
|
-
* @see https://eslint.style/rules/jsx
|
|
154
|
+
* @see https://eslint.style/rules/jsx-first-prop-new-line
|
|
160
155
|
*/
|
|
161
156
|
'@stylistic/jsx-first-prop-new-line'?: Linter.RuleEntry<StylisticJsxFirstPropNewLine>
|
|
162
157
|
/**
|
|
163
158
|
* Enforce line breaks before and after JSX elements when they are used as arguments to a function.
|
|
164
|
-
* @see https://eslint.style/rules/jsx
|
|
159
|
+
* @see https://eslint.style/rules/jsx-function-call-newline
|
|
165
160
|
*/
|
|
166
161
|
'@stylistic/jsx-function-call-newline'?: Linter.RuleEntry<StylisticJsxFunctionCallNewline>
|
|
167
162
|
/**
|
|
168
163
|
* Enforce JSX indentation. Deprecated, use `indent` rule instead.
|
|
169
|
-
* @see https://eslint.style/rules/jsx
|
|
164
|
+
* @see https://eslint.style/rules/jsx-indent
|
|
170
165
|
* @deprecated
|
|
171
166
|
*/
|
|
172
167
|
'@stylistic/jsx-indent'?: Linter.RuleEntry<StylisticJsxIndent>
|
|
173
168
|
/**
|
|
174
169
|
* Enforce props indentation in JSX
|
|
175
|
-
* @see https://eslint.style/rules/jsx
|
|
170
|
+
* @see https://eslint.style/rules/jsx-indent-props
|
|
176
171
|
*/
|
|
177
172
|
'@stylistic/jsx-indent-props'?: Linter.RuleEntry<StylisticJsxIndentProps>
|
|
178
173
|
/**
|
|
179
174
|
* Enforce maximum of props on a single line in JSX
|
|
180
|
-
* @see https://eslint.style/rules/jsx
|
|
175
|
+
* @see https://eslint.style/rules/jsx-max-props-per-line
|
|
181
176
|
*/
|
|
182
177
|
'@stylistic/jsx-max-props-per-line'?: Linter.RuleEntry<StylisticJsxMaxPropsPerLine>
|
|
183
178
|
/**
|
|
184
179
|
* Require or prevent a new line after jsx elements and expressions.
|
|
185
|
-
* @see https://eslint.style/rules/jsx
|
|
180
|
+
* @see https://eslint.style/rules/jsx-newline
|
|
186
181
|
*/
|
|
187
182
|
'@stylistic/jsx-newline'?: Linter.RuleEntry<StylisticJsxNewline>
|
|
188
183
|
/**
|
|
189
184
|
* Require one JSX element per line
|
|
190
|
-
* @see https://eslint.style/rules/jsx
|
|
185
|
+
* @see https://eslint.style/rules/jsx-one-expression-per-line
|
|
191
186
|
*/
|
|
192
187
|
'@stylistic/jsx-one-expression-per-line'?: Linter.RuleEntry<StylisticJsxOneExpressionPerLine>
|
|
193
188
|
/**
|
|
194
189
|
* Enforce PascalCase for user-defined JSX components
|
|
195
|
-
* @see https://eslint.style/rules/jsx
|
|
190
|
+
* @see https://eslint.style/rules/jsx-pascal-case
|
|
196
191
|
*/
|
|
197
192
|
'@stylistic/jsx-pascal-case'?: Linter.RuleEntry<StylisticJsxPascalCase>
|
|
198
193
|
/**
|
|
199
194
|
* Disallow multiple spaces between inline JSX props
|
|
200
|
-
* @see https://eslint.style/rules/jsx
|
|
195
|
+
* @see https://eslint.style/rules/jsx-props-no-multi-spaces
|
|
201
196
|
*/
|
|
202
197
|
'@stylistic/jsx-props-no-multi-spaces'?: Linter.RuleEntry<[]>
|
|
203
198
|
/**
|
|
204
199
|
* Enforce the consistent use of either double or single quotes in JSX attributes
|
|
205
|
-
* @see https://eslint.style/rules/
|
|
200
|
+
* @see https://eslint.style/rules/jsx-quotes
|
|
206
201
|
*/
|
|
207
202
|
'@stylistic/jsx-quotes'?: Linter.RuleEntry<StylisticJsxQuotes>
|
|
208
203
|
/**
|
|
209
204
|
* Disallow extra closing tags for components without children
|
|
210
|
-
* @see https://eslint.style/rules/jsx
|
|
205
|
+
* @see https://eslint.style/rules/jsx-self-closing-comp
|
|
211
206
|
*/
|
|
212
207
|
'@stylistic/jsx-self-closing-comp'?: Linter.RuleEntry<StylisticJsxSelfClosingComp>
|
|
213
208
|
/**
|
|
214
209
|
* Enforce props alphabetical sorting
|
|
215
|
-
* @see https://eslint.style/rules/jsx
|
|
210
|
+
* @see https://eslint.style/rules/jsx-sort-props
|
|
216
211
|
*/
|
|
217
212
|
'@stylistic/jsx-sort-props'?: Linter.RuleEntry<StylisticJsxSortProps>
|
|
218
213
|
/**
|
|
219
214
|
* Enforce whitespace in and around the JSX opening and closing brackets
|
|
220
|
-
* @see https://eslint.style/rules/jsx
|
|
215
|
+
* @see https://eslint.style/rules/jsx-tag-spacing
|
|
221
216
|
*/
|
|
222
217
|
'@stylistic/jsx-tag-spacing'?: Linter.RuleEntry<StylisticJsxTagSpacing>
|
|
223
218
|
/**
|
|
224
219
|
* Disallow missing parentheses around multiline JSX
|
|
225
|
-
* @see https://eslint.style/rules/jsx
|
|
220
|
+
* @see https://eslint.style/rules/jsx-wrap-multilines
|
|
226
221
|
*/
|
|
227
222
|
'@stylistic/jsx-wrap-multilines'?: Linter.RuleEntry<StylisticJsxWrapMultilines>
|
|
228
223
|
/**
|
|
229
224
|
* Enforce consistent spacing between property names and type annotations in types and interfaces
|
|
230
|
-
* @see https://eslint.style/rules/
|
|
225
|
+
* @see https://eslint.style/rules/key-spacing
|
|
231
226
|
*/
|
|
232
227
|
'@stylistic/key-spacing'?: Linter.RuleEntry<StylisticKeySpacing>
|
|
233
228
|
/**
|
|
234
229
|
* Enforce consistent spacing before and after keywords
|
|
235
|
-
* @see https://eslint.style/rules/
|
|
230
|
+
* @see https://eslint.style/rules/keyword-spacing
|
|
236
231
|
*/
|
|
237
232
|
'@stylistic/keyword-spacing'?: Linter.RuleEntry<StylisticKeywordSpacing>
|
|
238
233
|
/**
|
|
239
234
|
* Enforce position of line comments
|
|
240
|
-
* @see https://eslint.style/rules/
|
|
235
|
+
* @see https://eslint.style/rules/line-comment-position
|
|
241
236
|
*/
|
|
242
237
|
'@stylistic/line-comment-position'?: Linter.RuleEntry<StylisticLineCommentPosition>
|
|
243
238
|
/**
|
|
244
239
|
* Enforce consistent linebreak style
|
|
245
|
-
* @see https://eslint.style/rules/
|
|
240
|
+
* @see https://eslint.style/rules/linebreak-style
|
|
246
241
|
*/
|
|
247
242
|
'@stylistic/linebreak-style'?: Linter.RuleEntry<StylisticLinebreakStyle>
|
|
248
243
|
/**
|
|
249
244
|
* Require empty lines around comments
|
|
250
|
-
* @see https://eslint.style/rules/
|
|
245
|
+
* @see https://eslint.style/rules/lines-around-comment
|
|
251
246
|
*/
|
|
252
247
|
'@stylistic/lines-around-comment'?: Linter.RuleEntry<StylisticLinesAroundComment>
|
|
253
248
|
/**
|
|
254
249
|
* Require or disallow an empty line between class members
|
|
255
|
-
* @see https://eslint.style/rules/
|
|
250
|
+
* @see https://eslint.style/rules/lines-between-class-members
|
|
256
251
|
*/
|
|
257
252
|
'@stylistic/lines-between-class-members'?: Linter.RuleEntry<StylisticLinesBetweenClassMembers>
|
|
258
253
|
/**
|
|
259
254
|
* Enforce a maximum line length
|
|
260
|
-
* @see https://eslint.style/rules/
|
|
255
|
+
* @see https://eslint.style/rules/max-len
|
|
261
256
|
*/
|
|
262
257
|
'@stylistic/max-len'?: Linter.RuleEntry<StylisticMaxLen>
|
|
263
258
|
/**
|
|
264
259
|
* Enforce a maximum number of statements allowed per line
|
|
265
|
-
* @see https://eslint.style/rules/
|
|
260
|
+
* @see https://eslint.style/rules/max-statements-per-line
|
|
266
261
|
*/
|
|
267
262
|
'@stylistic/max-statements-per-line'?: Linter.RuleEntry<StylisticMaxStatementsPerLine>
|
|
268
263
|
/**
|
|
269
264
|
* Require a specific member delimiter style for interfaces and type literals
|
|
270
|
-
* @see https://eslint.style/rules/
|
|
265
|
+
* @see https://eslint.style/rules/member-delimiter-style
|
|
271
266
|
*/
|
|
272
267
|
'@stylistic/member-delimiter-style'?: Linter.RuleEntry<StylisticMemberDelimiterStyle>
|
|
273
268
|
/**
|
|
274
269
|
* Enforce a particular style for multiline comments
|
|
275
|
-
* @see https://eslint.style/rules/
|
|
270
|
+
* @see https://eslint.style/rules/multiline-comment-style
|
|
276
271
|
*/
|
|
277
272
|
'@stylistic/multiline-comment-style'?: Linter.RuleEntry<StylisticMultilineCommentStyle>
|
|
278
273
|
/**
|
|
279
274
|
* Enforce newlines between operands of ternary expressions
|
|
280
|
-
* @see https://eslint.style/rules/
|
|
275
|
+
* @see https://eslint.style/rules/multiline-ternary
|
|
281
276
|
*/
|
|
282
277
|
'@stylistic/multiline-ternary'?: Linter.RuleEntry<StylisticMultilineTernary>
|
|
283
278
|
/**
|
|
284
279
|
* Enforce or disallow parentheses when invoking a constructor with no arguments
|
|
285
|
-
* @see https://eslint.style/rules/
|
|
280
|
+
* @see https://eslint.style/rules/new-parens
|
|
286
281
|
*/
|
|
287
282
|
'@stylistic/new-parens'?: Linter.RuleEntry<StylisticNewParens>
|
|
288
283
|
/**
|
|
289
284
|
* Require a newline after each call in a method chain
|
|
290
|
-
* @see https://eslint.style/rules/
|
|
285
|
+
* @see https://eslint.style/rules/newline-per-chained-call
|
|
291
286
|
*/
|
|
292
287
|
'@stylistic/newline-per-chained-call'?: Linter.RuleEntry<StylisticNewlinePerChainedCall>
|
|
293
288
|
/**
|
|
294
289
|
* Disallow arrow functions where they could be confused with comparisons
|
|
295
|
-
* @see https://eslint.style/rules/
|
|
290
|
+
* @see https://eslint.style/rules/no-confusing-arrow
|
|
296
291
|
*/
|
|
297
292
|
'@stylistic/no-confusing-arrow'?: Linter.RuleEntry<StylisticNoConfusingArrow>
|
|
298
293
|
/**
|
|
299
294
|
* Disallow unnecessary parentheses
|
|
300
|
-
* @see https://eslint.style/rules/
|
|
295
|
+
* @see https://eslint.style/rules/no-extra-parens
|
|
301
296
|
*/
|
|
302
297
|
'@stylistic/no-extra-parens'?: Linter.RuleEntry<StylisticNoExtraParens>
|
|
303
298
|
/**
|
|
304
299
|
* Disallow unnecessary semicolons
|
|
305
|
-
* @see https://eslint.style/rules/
|
|
300
|
+
* @see https://eslint.style/rules/no-extra-semi
|
|
306
301
|
*/
|
|
307
302
|
'@stylistic/no-extra-semi'?: Linter.RuleEntry<[]>
|
|
308
303
|
/**
|
|
309
304
|
* Disallow leading or trailing decimal points in numeric literals
|
|
310
|
-
* @see https://eslint.style/rules/
|
|
305
|
+
* @see https://eslint.style/rules/no-floating-decimal
|
|
311
306
|
*/
|
|
312
307
|
'@stylistic/no-floating-decimal'?: Linter.RuleEntry<[]>
|
|
313
308
|
/**
|
|
314
309
|
* Disallow mixed binary operators
|
|
315
|
-
* @see https://eslint.style/rules/
|
|
310
|
+
* @see https://eslint.style/rules/no-mixed-operators
|
|
316
311
|
*/
|
|
317
312
|
'@stylistic/no-mixed-operators'?: Linter.RuleEntry<StylisticNoMixedOperators>
|
|
318
313
|
/**
|
|
319
314
|
* Disallow mixed spaces and tabs for indentation
|
|
320
|
-
* @see https://eslint.style/rules/
|
|
315
|
+
* @see https://eslint.style/rules/no-mixed-spaces-and-tabs
|
|
321
316
|
*/
|
|
322
317
|
'@stylistic/no-mixed-spaces-and-tabs'?: Linter.RuleEntry<StylisticNoMixedSpacesAndTabs>
|
|
323
318
|
/**
|
|
324
319
|
* Disallow multiple spaces
|
|
325
|
-
* @see https://eslint.style/rules/
|
|
320
|
+
* @see https://eslint.style/rules/no-multi-spaces
|
|
326
321
|
*/
|
|
327
322
|
'@stylistic/no-multi-spaces'?: Linter.RuleEntry<StylisticNoMultiSpaces>
|
|
328
323
|
/**
|
|
329
324
|
* Disallow multiple empty lines
|
|
330
|
-
* @see https://eslint.style/rules/
|
|
325
|
+
* @see https://eslint.style/rules/no-multiple-empty-lines
|
|
331
326
|
*/
|
|
332
327
|
'@stylistic/no-multiple-empty-lines'?: Linter.RuleEntry<StylisticNoMultipleEmptyLines>
|
|
333
328
|
/**
|
|
334
329
|
* Disallow all tabs
|
|
335
|
-
* @see https://eslint.style/rules/
|
|
330
|
+
* @see https://eslint.style/rules/no-tabs
|
|
336
331
|
*/
|
|
337
332
|
'@stylistic/no-tabs'?: Linter.RuleEntry<StylisticNoTabs>
|
|
338
333
|
/**
|
|
339
334
|
* Disallow trailing whitespace at the end of lines
|
|
340
|
-
* @see https://eslint.style/rules/
|
|
335
|
+
* @see https://eslint.style/rules/no-trailing-spaces
|
|
341
336
|
*/
|
|
342
337
|
'@stylistic/no-trailing-spaces'?: Linter.RuleEntry<StylisticNoTrailingSpaces>
|
|
343
338
|
/**
|
|
344
339
|
* Disallow whitespace before properties
|
|
345
|
-
* @see https://eslint.style/rules/
|
|
340
|
+
* @see https://eslint.style/rules/no-whitespace-before-property
|
|
346
341
|
*/
|
|
347
342
|
'@stylistic/no-whitespace-before-property'?: Linter.RuleEntry<[]>
|
|
348
343
|
/**
|
|
349
344
|
* Enforce the location of single-line statements
|
|
350
|
-
* @see https://eslint.style/rules/
|
|
345
|
+
* @see https://eslint.style/rules/nonblock-statement-body-position
|
|
351
346
|
*/
|
|
352
347
|
'@stylistic/nonblock-statement-body-position'?: Linter.RuleEntry<StylisticNonblockStatementBodyPosition>
|
|
353
348
|
/**
|
|
354
349
|
* Enforce consistent line breaks after opening and before closing braces
|
|
355
|
-
* @see https://eslint.style/rules/
|
|
350
|
+
* @see https://eslint.style/rules/object-curly-newline
|
|
356
351
|
*/
|
|
357
352
|
'@stylistic/object-curly-newline'?: Linter.RuleEntry<StylisticObjectCurlyNewline>
|
|
358
353
|
/**
|
|
359
354
|
* Enforce consistent spacing inside braces
|
|
360
|
-
* @see https://eslint.style/rules/
|
|
355
|
+
* @see https://eslint.style/rules/object-curly-spacing
|
|
361
356
|
*/
|
|
362
357
|
'@stylistic/object-curly-spacing'?: Linter.RuleEntry<StylisticObjectCurlySpacing>
|
|
363
358
|
/**
|
|
364
359
|
* Enforce placing object properties on separate lines
|
|
365
|
-
* @see https://eslint.style/rules/
|
|
360
|
+
* @see https://eslint.style/rules/object-property-newline
|
|
366
361
|
*/
|
|
367
362
|
'@stylistic/object-property-newline'?: Linter.RuleEntry<StylisticObjectPropertyNewline>
|
|
368
363
|
/**
|
|
369
364
|
* Require or disallow newlines around variable declarations
|
|
370
|
-
* @see https://eslint.style/rules/
|
|
365
|
+
* @see https://eslint.style/rules/one-var-declaration-per-line
|
|
371
366
|
*/
|
|
372
367
|
'@stylistic/one-var-declaration-per-line'?: Linter.RuleEntry<StylisticOneVarDeclarationPerLine>
|
|
373
368
|
/**
|
|
374
369
|
* Enforce consistent linebreak style for operators
|
|
375
|
-
* @see https://eslint.style/rules/
|
|
370
|
+
* @see https://eslint.style/rules/operator-linebreak
|
|
376
371
|
*/
|
|
377
372
|
'@stylistic/operator-linebreak'?: Linter.RuleEntry<StylisticOperatorLinebreak>
|
|
378
373
|
/**
|
|
379
374
|
* Require or disallow padding within blocks
|
|
380
|
-
* @see https://eslint.style/rules/
|
|
375
|
+
* @see https://eslint.style/rules/padded-blocks
|
|
381
376
|
*/
|
|
382
377
|
'@stylistic/padded-blocks'?: Linter.RuleEntry<StylisticPaddedBlocks>
|
|
383
378
|
/**
|
|
384
379
|
* Require or disallow padding lines between statements
|
|
385
|
-
* @see https://eslint.style/rules/
|
|
380
|
+
* @see https://eslint.style/rules/padding-line-between-statements
|
|
386
381
|
*/
|
|
387
382
|
'@stylistic/padding-line-between-statements'?: Linter.RuleEntry<StylisticPaddingLineBetweenStatements>
|
|
388
383
|
/**
|
|
389
384
|
* Require quotes around object literal, type literal, interfaces and enums property names
|
|
390
|
-
* @see https://eslint.style/rules/
|
|
385
|
+
* @see https://eslint.style/rules/quote-props
|
|
391
386
|
*/
|
|
392
387
|
'@stylistic/quote-props'?: Linter.RuleEntry<StylisticQuoteProps>
|
|
393
388
|
/**
|
|
394
389
|
* Enforce the consistent use of either backticks, double, or single quotes
|
|
395
|
-
* @see https://eslint.style/rules/
|
|
390
|
+
* @see https://eslint.style/rules/quotes
|
|
396
391
|
*/
|
|
397
392
|
'@stylistic/quotes'?: Linter.RuleEntry<StylisticQuotes>
|
|
398
393
|
/**
|
|
399
394
|
* Enforce spacing between rest and spread operators and their expressions
|
|
400
|
-
* @see https://eslint.style/rules/
|
|
395
|
+
* @see https://eslint.style/rules/rest-spread-spacing
|
|
401
396
|
*/
|
|
402
397
|
'@stylistic/rest-spread-spacing'?: Linter.RuleEntry<StylisticRestSpreadSpacing>
|
|
403
398
|
/**
|
|
404
399
|
* Require or disallow semicolons instead of ASI
|
|
405
|
-
* @see https://eslint.style/rules/
|
|
400
|
+
* @see https://eslint.style/rules/semi
|
|
406
401
|
*/
|
|
407
402
|
'@stylistic/semi'?: Linter.RuleEntry<StylisticSemi>
|
|
408
403
|
/**
|
|
409
404
|
* Enforce consistent spacing before and after semicolons
|
|
410
|
-
* @see https://eslint.style/rules/
|
|
405
|
+
* @see https://eslint.style/rules/semi-spacing
|
|
411
406
|
*/
|
|
412
407
|
'@stylistic/semi-spacing'?: Linter.RuleEntry<StylisticSemiSpacing>
|
|
413
408
|
/**
|
|
414
409
|
* Enforce location of semicolons
|
|
415
|
-
* @see https://eslint.style/rules/
|
|
410
|
+
* @see https://eslint.style/rules/semi-style
|
|
416
411
|
*/
|
|
417
412
|
'@stylistic/semi-style'?: Linter.RuleEntry<StylisticSemiStyle>
|
|
418
413
|
/**
|
|
419
414
|
* Enforce consistent spacing before blocks
|
|
420
|
-
* @see https://eslint.style/rules/
|
|
415
|
+
* @see https://eslint.style/rules/space-before-blocks
|
|
421
416
|
*/
|
|
422
417
|
'@stylistic/space-before-blocks'?: Linter.RuleEntry<StylisticSpaceBeforeBlocks>
|
|
423
418
|
/**
|
|
424
419
|
* Enforce consistent spacing before function parenthesis
|
|
425
|
-
* @see https://eslint.style/rules/
|
|
420
|
+
* @see https://eslint.style/rules/space-before-function-paren
|
|
426
421
|
*/
|
|
427
422
|
'@stylistic/space-before-function-paren'?: Linter.RuleEntry<StylisticSpaceBeforeFunctionParen>
|
|
428
423
|
/**
|
|
429
424
|
* Enforce consistent spacing inside parentheses
|
|
430
|
-
* @see https://eslint.style/rules/
|
|
425
|
+
* @see https://eslint.style/rules/space-in-parens
|
|
431
426
|
*/
|
|
432
427
|
'@stylistic/space-in-parens'?: Linter.RuleEntry<StylisticSpaceInParens>
|
|
433
428
|
/**
|
|
434
429
|
* Require spacing around infix operators
|
|
435
|
-
* @see https://eslint.style/rules/
|
|
430
|
+
* @see https://eslint.style/rules/space-infix-ops
|
|
436
431
|
*/
|
|
437
432
|
'@stylistic/space-infix-ops'?: Linter.RuleEntry<StylisticSpaceInfixOps>
|
|
438
433
|
/**
|
|
439
434
|
* Enforce consistent spacing before or after unary operators
|
|
440
|
-
* @see https://eslint.style/rules/
|
|
435
|
+
* @see https://eslint.style/rules/space-unary-ops
|
|
441
436
|
*/
|
|
442
437
|
'@stylistic/space-unary-ops'?: Linter.RuleEntry<StylisticSpaceUnaryOps>
|
|
443
438
|
/**
|
|
444
439
|
* Enforce consistent spacing after the `//` or `/*` in a comment
|
|
445
|
-
* @see https://eslint.style/rules/
|
|
440
|
+
* @see https://eslint.style/rules/spaced-comment
|
|
446
441
|
*/
|
|
447
442
|
'@stylistic/spaced-comment'?: Linter.RuleEntry<StylisticSpacedComment>
|
|
448
443
|
/**
|
|
449
444
|
* Enforce spacing around colons of switch statements
|
|
450
|
-
* @see https://eslint.style/rules/
|
|
445
|
+
* @see https://eslint.style/rules/switch-colon-spacing
|
|
451
446
|
*/
|
|
452
447
|
'@stylistic/switch-colon-spacing'?: Linter.RuleEntry<StylisticSwitchColonSpacing>
|
|
453
448
|
/**
|
|
454
449
|
* Require or disallow spacing around embedded expressions of template strings
|
|
455
|
-
* @see https://eslint.style/rules/
|
|
450
|
+
* @see https://eslint.style/rules/template-curly-spacing
|
|
456
451
|
*/
|
|
457
452
|
'@stylistic/template-curly-spacing'?: Linter.RuleEntry<StylisticTemplateCurlySpacing>
|
|
458
453
|
/**
|
|
459
454
|
* Require or disallow spacing between template tags and their literals
|
|
460
|
-
* @see https://eslint.style/rules/
|
|
455
|
+
* @see https://eslint.style/rules/template-tag-spacing
|
|
461
456
|
*/
|
|
462
457
|
'@stylistic/template-tag-spacing'?: Linter.RuleEntry<StylisticTemplateTagSpacing>
|
|
463
458
|
/**
|
|
464
459
|
* Require consistent spacing around type annotations
|
|
465
|
-
* @see https://eslint.style/rules/
|
|
460
|
+
* @see https://eslint.style/rules/type-annotation-spacing
|
|
466
461
|
*/
|
|
467
462
|
'@stylistic/type-annotation-spacing'?: Linter.RuleEntry<StylisticTypeAnnotationSpacing>
|
|
468
463
|
/**
|
|
469
464
|
* Enforces consistent spacing inside TypeScript type generics
|
|
470
|
-
* @see https://eslint.style/rules/
|
|
465
|
+
* @see https://eslint.style/rules/type-generic-spacing
|
|
471
466
|
*/
|
|
472
467
|
'@stylistic/type-generic-spacing'?: Linter.RuleEntry<[]>
|
|
473
468
|
/**
|
|
474
469
|
* Expect space before the type declaration in the named tuple
|
|
475
|
-
* @see https://eslint.style/rules/
|
|
470
|
+
* @see https://eslint.style/rules/type-named-tuple-spacing
|
|
476
471
|
*/
|
|
477
472
|
'@stylistic/type-named-tuple-spacing'?: Linter.RuleEntry<[]>
|
|
478
473
|
/**
|
|
479
474
|
* Require parentheses around immediate `function` invocations
|
|
480
|
-
* @see https://eslint.style/rules/
|
|
475
|
+
* @see https://eslint.style/rules/wrap-iife
|
|
481
476
|
*/
|
|
482
477
|
'@stylistic/wrap-iife'?: Linter.RuleEntry<StylisticWrapIife>
|
|
483
478
|
/**
|
|
484
479
|
* Require parenthesis around regex literals
|
|
485
|
-
* @see https://eslint.style/rules/
|
|
480
|
+
* @see https://eslint.style/rules/wrap-regex
|
|
486
481
|
*/
|
|
487
482
|
'@stylistic/wrap-regex'?: Linter.RuleEntry<[]>
|
|
488
483
|
/**
|
|
489
484
|
* Require or disallow spacing around the `*` in `yield*` expressions
|
|
490
|
-
* @see https://eslint.style/rules/
|
|
485
|
+
* @see https://eslint.style/rules/yield-star-spacing
|
|
491
486
|
*/
|
|
492
487
|
'@stylistic/yield-star-spacing'?: Linter.RuleEntry<StylisticYieldStarSpacing>
|
|
493
488
|
/**
|
|
@@ -1572,233 +1567,238 @@ interface RuleOptions {
|
|
|
1572
1567
|
'format/prettier'?: Linter.RuleEntry<FormatPrettier>
|
|
1573
1568
|
/**
|
|
1574
1569
|
* Enforce or ban the use of inline type-only markers for named imports.
|
|
1575
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1570
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/consistent-type-specifier-style.md
|
|
1576
1571
|
*/
|
|
1577
1572
|
'import/consistent-type-specifier-style'?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>
|
|
1578
1573
|
/**
|
|
1579
1574
|
* Ensure a default export is present, given a default import.
|
|
1580
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1575
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/default.md
|
|
1581
1576
|
*/
|
|
1582
1577
|
'import/default'?: Linter.RuleEntry<[]>
|
|
1583
1578
|
/**
|
|
1584
1579
|
* Enforce a leading comment with the webpackChunkName for dynamic imports.
|
|
1585
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1580
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/dynamic-import-chunkname.md
|
|
1586
1581
|
*/
|
|
1587
1582
|
'import/dynamic-import-chunkname'?: Linter.RuleEntry<ImportDynamicImportChunkname>
|
|
1588
1583
|
/**
|
|
1589
1584
|
* Forbid any invalid exports, i.e. re-export of the same name.
|
|
1590
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1585
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/export.md
|
|
1591
1586
|
*/
|
|
1592
1587
|
'import/export'?: Linter.RuleEntry<[]>
|
|
1593
1588
|
/**
|
|
1594
1589
|
* Ensure all exports appear after other statements.
|
|
1595
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1590
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/exports-last.md
|
|
1596
1591
|
*/
|
|
1597
1592
|
'import/exports-last'?: Linter.RuleEntry<[]>
|
|
1598
1593
|
/**
|
|
1599
1594
|
* Ensure consistent use of file extension within the import path.
|
|
1600
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1595
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/extensions.md
|
|
1601
1596
|
*/
|
|
1602
1597
|
'import/extensions'?: Linter.RuleEntry<ImportExtensions>
|
|
1603
1598
|
/**
|
|
1604
1599
|
* Ensure all imports appear before other statements.
|
|
1605
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1600
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/first.md
|
|
1606
1601
|
*/
|
|
1607
1602
|
'import/first'?: Linter.RuleEntry<ImportFirst>
|
|
1608
1603
|
/**
|
|
1609
1604
|
* Prefer named exports to be grouped together in a single export declaration.
|
|
1610
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1605
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/group-exports.md
|
|
1611
1606
|
*/
|
|
1612
1607
|
'import/group-exports'?: Linter.RuleEntry<[]>
|
|
1613
1608
|
/**
|
|
1614
1609
|
* Replaced by `import-x/first`.
|
|
1615
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1610
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/imports-first.md
|
|
1616
1611
|
* @deprecated
|
|
1617
1612
|
*/
|
|
1618
1613
|
'import/imports-first'?: Linter.RuleEntry<ImportImportsFirst>
|
|
1619
1614
|
/**
|
|
1620
1615
|
* Enforce the maximum number of dependencies a module can have.
|
|
1621
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1616
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/max-dependencies.md
|
|
1622
1617
|
*/
|
|
1623
1618
|
'import/max-dependencies'?: Linter.RuleEntry<ImportMaxDependencies>
|
|
1624
1619
|
/**
|
|
1625
1620
|
* Ensure named imports correspond to a named export in the remote file.
|
|
1626
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1621
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/named.md
|
|
1627
1622
|
*/
|
|
1628
1623
|
'import/named'?: Linter.RuleEntry<ImportNamed>
|
|
1629
1624
|
/**
|
|
1630
1625
|
* Ensure imported namespaces contain dereferenced properties as they are dereferenced.
|
|
1631
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1626
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/namespace.md
|
|
1632
1627
|
*/
|
|
1633
1628
|
'import/namespace'?: Linter.RuleEntry<ImportNamespace>
|
|
1634
1629
|
/**
|
|
1635
1630
|
* Enforce a newline after import statements.
|
|
1636
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1631
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/newline-after-import.md
|
|
1637
1632
|
*/
|
|
1638
1633
|
'import/newline-after-import'?: Linter.RuleEntry<ImportNewlineAfterImport>
|
|
1639
1634
|
/**
|
|
1640
1635
|
* Forbid import of modules using absolute paths.
|
|
1641
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1636
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-absolute-path.md
|
|
1642
1637
|
*/
|
|
1643
1638
|
'import/no-absolute-path'?: Linter.RuleEntry<ImportNoAbsolutePath>
|
|
1644
1639
|
/**
|
|
1645
1640
|
* Forbid AMD `require` and `define` calls.
|
|
1646
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1641
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-amd.md
|
|
1647
1642
|
*/
|
|
1648
1643
|
'import/no-amd'?: Linter.RuleEntry<[]>
|
|
1649
1644
|
/**
|
|
1650
1645
|
* Forbid anonymous values as default exports.
|
|
1651
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1646
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-anonymous-default-export.md
|
|
1652
1647
|
*/
|
|
1653
1648
|
'import/no-anonymous-default-export'?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>
|
|
1654
1649
|
/**
|
|
1655
1650
|
* Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
|
|
1656
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1651
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-commonjs.md
|
|
1657
1652
|
*/
|
|
1658
1653
|
'import/no-commonjs'?: Linter.RuleEntry<ImportNoCommonjs>
|
|
1659
1654
|
/**
|
|
1660
1655
|
* Forbid a module from importing a module with a dependency path back to itself.
|
|
1661
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1656
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-cycle.md
|
|
1662
1657
|
*/
|
|
1663
1658
|
'import/no-cycle'?: Linter.RuleEntry<ImportNoCycle>
|
|
1664
1659
|
/**
|
|
1665
1660
|
* Forbid default exports.
|
|
1666
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1661
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-default-export.md
|
|
1667
1662
|
*/
|
|
1668
1663
|
'import/no-default-export'?: Linter.RuleEntry<[]>
|
|
1669
1664
|
/**
|
|
1670
1665
|
* Forbid imported names marked with `@deprecated` documentation tag.
|
|
1671
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1666
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-deprecated.md
|
|
1672
1667
|
*/
|
|
1673
1668
|
'import/no-deprecated'?: Linter.RuleEntry<[]>
|
|
1674
1669
|
/**
|
|
1675
1670
|
* Forbid repeated import of the same module in multiple places.
|
|
1676
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1671
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-duplicates.md
|
|
1677
1672
|
*/
|
|
1678
1673
|
'import/no-duplicates'?: Linter.RuleEntry<ImportNoDuplicates>
|
|
1679
1674
|
/**
|
|
1680
1675
|
* Forbid `require()` calls with expressions.
|
|
1681
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1676
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-dynamic-require.md
|
|
1682
1677
|
*/
|
|
1683
1678
|
'import/no-dynamic-require'?: Linter.RuleEntry<ImportNoDynamicRequire>
|
|
1684
1679
|
/**
|
|
1685
1680
|
* Forbid empty named import blocks.
|
|
1686
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1681
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-empty-named-blocks.md
|
|
1687
1682
|
*/
|
|
1688
1683
|
'import/no-empty-named-blocks'?: Linter.RuleEntry<[]>
|
|
1689
1684
|
/**
|
|
1690
1685
|
* Forbid the use of extraneous packages.
|
|
1691
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1686
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-extraneous-dependencies.md
|
|
1692
1687
|
*/
|
|
1693
1688
|
'import/no-extraneous-dependencies'?: Linter.RuleEntry<ImportNoExtraneousDependencies>
|
|
1694
1689
|
/**
|
|
1695
1690
|
* Forbid import statements with CommonJS module.exports.
|
|
1696
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1691
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-import-module-exports.md
|
|
1697
1692
|
*/
|
|
1698
1693
|
'import/no-import-module-exports'?: Linter.RuleEntry<ImportNoImportModuleExports>
|
|
1699
1694
|
/**
|
|
1700
1695
|
* Forbid importing the submodules of other modules.
|
|
1701
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1696
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-internal-modules.md
|
|
1702
1697
|
*/
|
|
1703
1698
|
'import/no-internal-modules'?: Linter.RuleEntry<ImportNoInternalModules>
|
|
1704
1699
|
/**
|
|
1705
1700
|
* Forbid the use of mutable exports with `var` or `let`.
|
|
1706
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1701
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-mutable-exports.md
|
|
1707
1702
|
*/
|
|
1708
1703
|
'import/no-mutable-exports'?: Linter.RuleEntry<[]>
|
|
1709
1704
|
/**
|
|
1710
1705
|
* Forbid use of exported name as identifier of default export.
|
|
1711
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1706
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-named-as-default.md
|
|
1712
1707
|
*/
|
|
1713
1708
|
'import/no-named-as-default'?: Linter.RuleEntry<[]>
|
|
1714
1709
|
/**
|
|
1715
1710
|
* Forbid use of exported name as property of default export.
|
|
1716
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1711
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-named-as-default-member.md
|
|
1717
1712
|
*/
|
|
1718
1713
|
'import/no-named-as-default-member'?: Linter.RuleEntry<[]>
|
|
1719
1714
|
/**
|
|
1720
1715
|
* Forbid named default exports.
|
|
1721
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1716
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-named-default.md
|
|
1722
1717
|
*/
|
|
1723
1718
|
'import/no-named-default'?: Linter.RuleEntry<[]>
|
|
1724
1719
|
/**
|
|
1725
1720
|
* Forbid named exports.
|
|
1726
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1721
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-named-export.md
|
|
1727
1722
|
*/
|
|
1728
1723
|
'import/no-named-export'?: Linter.RuleEntry<[]>
|
|
1729
1724
|
/**
|
|
1730
1725
|
* Forbid namespace (a.k.a. "wildcard" `*`) imports.
|
|
1731
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1726
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-namespace.md
|
|
1732
1727
|
*/
|
|
1733
1728
|
'import/no-namespace'?: Linter.RuleEntry<ImportNoNamespace>
|
|
1734
1729
|
/**
|
|
1735
1730
|
* Forbid Node.js builtin modules.
|
|
1736
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1731
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-nodejs-modules.md
|
|
1737
1732
|
*/
|
|
1738
1733
|
'import/no-nodejs-modules'?: Linter.RuleEntry<ImportNoNodejsModules>
|
|
1739
1734
|
/**
|
|
1740
1735
|
* Forbid importing packages through relative paths.
|
|
1741
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1736
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-relative-packages.md
|
|
1742
1737
|
*/
|
|
1743
1738
|
'import/no-relative-packages'?: Linter.RuleEntry<ImportNoRelativePackages>
|
|
1744
1739
|
/**
|
|
1745
1740
|
* Forbid importing modules from parent directories.
|
|
1746
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1741
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-relative-parent-imports.md
|
|
1747
1742
|
*/
|
|
1748
1743
|
'import/no-relative-parent-imports'?: Linter.RuleEntry<ImportNoRelativeParentImports>
|
|
1749
1744
|
/**
|
|
1750
1745
|
* Forbid importing a default export by a different name.
|
|
1751
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1746
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-rename-default.md
|
|
1752
1747
|
*/
|
|
1753
1748
|
'import/no-rename-default'?: Linter.RuleEntry<ImportNoRenameDefault>
|
|
1754
1749
|
/**
|
|
1755
1750
|
* Enforce which files can be imported in a given folder.
|
|
1756
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1751
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-restricted-paths.md
|
|
1757
1752
|
*/
|
|
1758
1753
|
'import/no-restricted-paths'?: Linter.RuleEntry<ImportNoRestrictedPaths>
|
|
1759
1754
|
/**
|
|
1760
1755
|
* Forbid a module from importing itself.
|
|
1761
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1756
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-self-import.md
|
|
1762
1757
|
*/
|
|
1763
1758
|
'import/no-self-import'?: Linter.RuleEntry<[]>
|
|
1764
1759
|
/**
|
|
1765
1760
|
* Forbid unassigned imports.
|
|
1766
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1761
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-unassigned-import.md
|
|
1767
1762
|
*/
|
|
1768
1763
|
'import/no-unassigned-import'?: Linter.RuleEntry<ImportNoUnassignedImport>
|
|
1769
1764
|
/**
|
|
1770
1765
|
* Ensure imports point to a file/module that can be resolved.
|
|
1771
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1766
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-unresolved.md
|
|
1772
1767
|
*/
|
|
1773
1768
|
'import/no-unresolved'?: Linter.RuleEntry<ImportNoUnresolved>
|
|
1774
1769
|
/**
|
|
1775
1770
|
* Forbid modules without exports, or exports without matching import in another module.
|
|
1776
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1771
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-unused-modules.md
|
|
1777
1772
|
*/
|
|
1778
1773
|
'import/no-unused-modules'?: Linter.RuleEntry<ImportNoUnusedModules>
|
|
1779
1774
|
/**
|
|
1780
1775
|
* Forbid unnecessary path segments in import and require statements.
|
|
1781
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1776
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-useless-path-segments.md
|
|
1782
1777
|
*/
|
|
1783
1778
|
'import/no-useless-path-segments'?: Linter.RuleEntry<ImportNoUselessPathSegments>
|
|
1784
1779
|
/**
|
|
1785
1780
|
* Forbid webpack loader syntax in imports.
|
|
1786
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1781
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-webpack-loader-syntax.md
|
|
1787
1782
|
*/
|
|
1788
1783
|
'import/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>
|
|
1789
1784
|
/**
|
|
1790
1785
|
* Enforce a convention in module import order.
|
|
1791
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1786
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/order.md
|
|
1792
1787
|
*/
|
|
1793
1788
|
'import/order'?: Linter.RuleEntry<ImportOrder>
|
|
1794
1789
|
/**
|
|
1795
1790
|
* Prefer a default export if module exports a single name or multiple names.
|
|
1796
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1791
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/prefer-default-export.md
|
|
1797
1792
|
*/
|
|
1798
1793
|
'import/prefer-default-export'?: Linter.RuleEntry<ImportPreferDefaultExport>
|
|
1794
|
+
/**
|
|
1795
|
+
* Enforce using namespace imports for specific modules, like `react`/`react-dom`, etc.
|
|
1796
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/prefer-namespace-import.md
|
|
1797
|
+
*/
|
|
1798
|
+
'import/prefer-namespace-import'?: Linter.RuleEntry<ImportPreferNamespaceImport>
|
|
1799
1799
|
/**
|
|
1800
1800
|
* Forbid potentially ambiguous parse goal (`script` vs. `module`).
|
|
1801
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1801
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/unambiguous.md
|
|
1802
1802
|
*/
|
|
1803
1803
|
'import/unambiguous'?: Linter.RuleEntry<[]>
|
|
1804
1804
|
/**
|
|
@@ -2514,11 +2514,31 @@ interface RuleOptions {
|
|
|
2514
2514
|
* @see https://github.com/eslint/markdown/blob/main/docs/rules/heading-increment.md
|
|
2515
2515
|
*/
|
|
2516
2516
|
'markdown/heading-increment'?: Linter.RuleEntry<[]>
|
|
2517
|
+
/**
|
|
2518
|
+
* Disallow bare URLs
|
|
2519
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-bare-urls.md
|
|
2520
|
+
*/
|
|
2521
|
+
'markdown/no-bare-urls'?: Linter.RuleEntry<[]>
|
|
2522
|
+
/**
|
|
2523
|
+
* Disallow duplicate definitions
|
|
2524
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-duplicate-definitions.md
|
|
2525
|
+
*/
|
|
2526
|
+
'markdown/no-duplicate-definitions'?: Linter.RuleEntry<MarkdownNoDuplicateDefinitions>
|
|
2517
2527
|
/**
|
|
2518
2528
|
* Disallow duplicate headings in the same document
|
|
2519
2529
|
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-duplicate-headings.md
|
|
2520
2530
|
*/
|
|
2521
|
-
'markdown/no-duplicate-headings'?: Linter.RuleEntry<
|
|
2531
|
+
'markdown/no-duplicate-headings'?: Linter.RuleEntry<MarkdownNoDuplicateHeadings>
|
|
2532
|
+
/**
|
|
2533
|
+
* Disallow empty definitions
|
|
2534
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-empty-definitions.md
|
|
2535
|
+
*/
|
|
2536
|
+
'markdown/no-empty-definitions'?: Linter.RuleEntry<[]>
|
|
2537
|
+
/**
|
|
2538
|
+
* Disallow empty images
|
|
2539
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-empty-images.md
|
|
2540
|
+
*/
|
|
2541
|
+
'markdown/no-empty-images'?: Linter.RuleEntry<[]>
|
|
2522
2542
|
/**
|
|
2523
2543
|
* Disallow empty links
|
|
2524
2544
|
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-empty-links.md
|
|
@@ -2534,11 +2554,41 @@ interface RuleOptions {
|
|
|
2534
2554
|
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-invalid-label-refs.md
|
|
2535
2555
|
*/
|
|
2536
2556
|
'markdown/no-invalid-label-refs'?: Linter.RuleEntry<[]>
|
|
2557
|
+
/**
|
|
2558
|
+
* Disallow headings without a space after the hash characters
|
|
2559
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-missing-atx-heading-space.md
|
|
2560
|
+
*/
|
|
2561
|
+
'markdown/no-missing-atx-heading-space'?: Linter.RuleEntry<[]>
|
|
2537
2562
|
/**
|
|
2538
2563
|
* Disallow missing label references
|
|
2539
2564
|
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-missing-label-refs.md
|
|
2540
2565
|
*/
|
|
2541
2566
|
'markdown/no-missing-label-refs'?: Linter.RuleEntry<[]>
|
|
2567
|
+
/**
|
|
2568
|
+
* Disallow link fragments that do not reference valid headings
|
|
2569
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-missing-link-fragments.md
|
|
2570
|
+
*/
|
|
2571
|
+
'markdown/no-missing-link-fragments'?: Linter.RuleEntry<MarkdownNoMissingLinkFragments>
|
|
2572
|
+
/**
|
|
2573
|
+
* Disallow multiple H1 headings in the same document
|
|
2574
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-multiple-h1.md
|
|
2575
|
+
*/
|
|
2576
|
+
'markdown/no-multiple-h1'?: Linter.RuleEntry<MarkdownNoMultipleH1>
|
|
2577
|
+
/**
|
|
2578
|
+
* Disallow reversed link and image syntax
|
|
2579
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-reversed-media-syntax.md
|
|
2580
|
+
*/
|
|
2581
|
+
'markdown/no-reversed-media-syntax'?: Linter.RuleEntry<[]>
|
|
2582
|
+
/**
|
|
2583
|
+
* Require alternative text for images
|
|
2584
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/require-alt-text.md
|
|
2585
|
+
*/
|
|
2586
|
+
'markdown/require-alt-text'?: Linter.RuleEntry<[]>
|
|
2587
|
+
/**
|
|
2588
|
+
* Disallow data rows in a GitHub Flavored Markdown table from having more cells than the header row
|
|
2589
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/table-column-count.md
|
|
2590
|
+
*/
|
|
2591
|
+
'markdown/table-column-count'?: Linter.RuleEntry<[]>
|
|
2542
2592
|
/**
|
|
2543
2593
|
* require `return` statements after callbacks
|
|
2544
2594
|
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/callback-return.md
|
|
@@ -3327,6 +3377,11 @@ interface RuleOptions {
|
|
|
3327
3377
|
* @see https://eslint-react.xyz/docs/rules/jsx-no-duplicate-props
|
|
3328
3378
|
*/
|
|
3329
3379
|
'react-x/jsx-no-duplicate-props'?: Linter.RuleEntry<[]>
|
|
3380
|
+
/**
|
|
3381
|
+
* Disallows 'IIFE' in JSX elements.
|
|
3382
|
+
* @see https://eslint-react.xyz/docs/rules/jsx-no-iife
|
|
3383
|
+
*/
|
|
3384
|
+
'react-x/jsx-no-iife'?: Linter.RuleEntry<[]>
|
|
3330
3385
|
/**
|
|
3331
3386
|
* Disallow undefined variables in JSX.
|
|
3332
3387
|
* @see https://eslint-react.xyz/docs/rules/jsx-no-undef
|
|
@@ -4448,7 +4503,7 @@ interface RuleOptions {
|
|
|
4448
4503
|
* enforce using quantifier
|
|
4449
4504
|
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-quantifier.html
|
|
4450
4505
|
*/
|
|
4451
|
-
'regexp/prefer-quantifier'?: Linter.RuleEntry<
|
|
4506
|
+
'regexp/prefer-quantifier'?: Linter.RuleEntry<RegexpPreferQuantifier>
|
|
4452
4507
|
/**
|
|
4453
4508
|
* enforce using `?` quantifier
|
|
4454
4509
|
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-question-quantifier.html
|
|
@@ -4544,6 +4599,7 @@ interface RuleOptions {
|
|
|
4544
4599
|
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/use-ignore-case.html
|
|
4545
4600
|
*/
|
|
4546
4601
|
'regexp/use-ignore-case'?: Linter.RuleEntry<[]>
|
|
4602
|
+
'rules'?: Linter.RuleEntry<[]>
|
|
4547
4603
|
/**
|
|
4548
4604
|
* Automatically sort exports.
|
|
4549
4605
|
* @see https://github.com/lydell/eslint-plugin-simple-import-sort#sort-order
|
|
@@ -4568,12 +4624,12 @@ interface RuleOptions {
|
|
|
4568
4624
|
* Parameters should be passed in the correct order
|
|
4569
4625
|
* @see https://sonarsource.github.io/rspec/#/rspec/S2234/javascript
|
|
4570
4626
|
*/
|
|
4571
|
-
'sonarjs/arguments-order'?: Linter.RuleEntry<
|
|
4627
|
+
'sonarjs/arguments-order'?: Linter.RuleEntry<[]>
|
|
4572
4628
|
/**
|
|
4573
4629
|
* "arguments" should not be accessed directly
|
|
4574
4630
|
* @see https://sonarsource.github.io/rspec/#/rspec/S3513/javascript
|
|
4575
4631
|
*/
|
|
4576
|
-
'sonarjs/arguments-usage'?: Linter.RuleEntry<
|
|
4632
|
+
'sonarjs/arguments-usage'?: Linter.RuleEntry<[]>
|
|
4577
4633
|
/**
|
|
4578
4634
|
* Callbacks of array methods should have return statements
|
|
4579
4635
|
* @see https://sonarsource.github.io/rspec/#/rspec/S3796/javascript
|
|
@@ -4618,22 +4674,22 @@ interface RuleOptions {
|
|
|
4618
4674
|
* Policies granting all privileges are security-sensitive
|
|
4619
4675
|
* @see https://sonarsource.github.io/rspec/#/rspec/S6302/javascript
|
|
4620
4676
|
*/
|
|
4621
|
-
'sonarjs/aws-iam-all-privileges'?: Linter.RuleEntry<
|
|
4677
|
+
'sonarjs/aws-iam-all-privileges'?: Linter.RuleEntry<[]>
|
|
4622
4678
|
/**
|
|
4623
4679
|
* Policies granting access to all resources of an account are security-sensitive
|
|
4624
4680
|
* @see https://sonarsource.github.io/rspec/#/rspec/S6304/javascript
|
|
4625
4681
|
*/
|
|
4626
|
-
'sonarjs/aws-iam-all-resources-accessible'?: Linter.RuleEntry<
|
|
4682
|
+
'sonarjs/aws-iam-all-resources-accessible'?: Linter.RuleEntry<[]>
|
|
4627
4683
|
/**
|
|
4628
4684
|
* AWS IAM policies should limit the scope of permissions given
|
|
4629
4685
|
* @see https://sonarsource.github.io/rspec/#/rspec/S6317/javascript
|
|
4630
4686
|
*/
|
|
4631
|
-
'sonarjs/aws-iam-privilege-escalation'?: Linter.RuleEntry<
|
|
4687
|
+
'sonarjs/aws-iam-privilege-escalation'?: Linter.RuleEntry<[]>
|
|
4632
4688
|
/**
|
|
4633
4689
|
* Policies authorizing public access to resources are security-sensitive
|
|
4634
4690
|
* @see https://sonarsource.github.io/rspec/#/rspec/S6270/javascript
|
|
4635
4691
|
*/
|
|
4636
|
-
'sonarjs/aws-iam-public-access'?: Linter.RuleEntry<
|
|
4692
|
+
'sonarjs/aws-iam-public-access'?: Linter.RuleEntry<[]>
|
|
4637
4693
|
/**
|
|
4638
4694
|
* Using unencrypted Elasticsearch domains is security-sensitive
|
|
4639
4695
|
* @see https://sonarsource.github.io/rspec/#/rspec/S6308/javascript
|
|
@@ -4653,7 +4709,7 @@ interface RuleOptions {
|
|
|
4653
4709
|
* Granting access to S3 buckets to all or authenticated users is security-sensitive
|
|
4654
4710
|
* @see https://sonarsource.github.io/rspec/#/rspec/S6265/javascript
|
|
4655
4711
|
*/
|
|
4656
|
-
'sonarjs/aws-s3-bucket-granted-access'?: Linter.RuleEntry<
|
|
4712
|
+
'sonarjs/aws-s3-bucket-granted-access'?: Linter.RuleEntry<[]>
|
|
4657
4713
|
/**
|
|
4658
4714
|
* Authorizing HTTP communications with S3 buckets is security-sensitive
|
|
4659
4715
|
* @see https://sonarsource.github.io/rspec/#/rspec/S6249/javascript
|
|
@@ -4663,18 +4719,18 @@ interface RuleOptions {
|
|
|
4663
4719
|
* Allowing public ACLs or policies on a S3 bucket is security-sensitive
|
|
4664
4720
|
* @see https://sonarsource.github.io/rspec/#/rspec/S6281/javascript
|
|
4665
4721
|
*/
|
|
4666
|
-
'sonarjs/aws-s3-bucket-public-access'?: Linter.RuleEntry<
|
|
4722
|
+
'sonarjs/aws-s3-bucket-public-access'?: Linter.RuleEntry<[]>
|
|
4667
4723
|
/**
|
|
4668
4724
|
* Disabling server-side encryption of S3 buckets is security-sensitive
|
|
4669
4725
|
* @see https://sonarsource.github.io/rspec/#/rspec/S6245/javascript
|
|
4670
4726
|
* @deprecated
|
|
4671
4727
|
*/
|
|
4672
|
-
'sonarjs/aws-s3-bucket-server-encryption'?: Linter.RuleEntry<
|
|
4728
|
+
'sonarjs/aws-s3-bucket-server-encryption'?: Linter.RuleEntry<[]>
|
|
4673
4729
|
/**
|
|
4674
4730
|
* Disabling versioning of S3 buckets is security-sensitive
|
|
4675
4731
|
* @see https://sonarsource.github.io/rspec/#/rspec/S6252/javascript
|
|
4676
4732
|
*/
|
|
4677
|
-
'sonarjs/aws-s3-bucket-versioning'?: Linter.RuleEntry<
|
|
4733
|
+
'sonarjs/aws-s3-bucket-versioning'?: Linter.RuleEntry<[]>
|
|
4678
4734
|
/**
|
|
4679
4735
|
* Using unencrypted SageMaker notebook instances is security-sensitive
|
|
4680
4736
|
* @see https://sonarsource.github.io/rspec/#/rspec/S6319/javascript
|
|
@@ -4699,7 +4755,7 @@ interface RuleOptions {
|
|
|
4699
4755
|
* Variables should be used in the blocks where they are declared
|
|
4700
4756
|
* @see https://sonarsource.github.io/rspec/#/rspec/S2392/javascript
|
|
4701
4757
|
*/
|
|
4702
|
-
'sonarjs/block-scoped-var'?: Linter.RuleEntry<
|
|
4758
|
+
'sonarjs/block-scoped-var'?: Linter.RuleEntry<[]>
|
|
4703
4759
|
/**
|
|
4704
4760
|
* Optional boolean parameters should have default value
|
|
4705
4761
|
* @see https://sonarsource.github.io/rspec/#/rspec/S4798/javascript
|
|
@@ -4715,7 +4771,7 @@ interface RuleOptions {
|
|
|
4715
4771
|
* @see https://sonarsource.github.io/rspec/#/rspec/S5742/javascript
|
|
4716
4772
|
* @deprecated
|
|
4717
4773
|
*/
|
|
4718
|
-
'sonarjs/certificate-transparency'?: Linter.RuleEntry<
|
|
4774
|
+
'sonarjs/certificate-transparency'?: Linter.RuleEntry<[]>
|
|
4719
4775
|
/**
|
|
4720
4776
|
* Chai assertions should have only one reason to succeed
|
|
4721
4777
|
* @see https://sonarsource.github.io/rspec/#/rspec/S6092/javascript
|
|
@@ -4761,12 +4817,12 @@ interface RuleOptions {
|
|
|
4761
4817
|
* @see https://sonarsource.github.io/rspec/#/rspec/S3973/javascript
|
|
4762
4818
|
* @deprecated
|
|
4763
4819
|
*/
|
|
4764
|
-
'sonarjs/conditional-indentation'?: Linter.RuleEntry<
|
|
4820
|
+
'sonarjs/conditional-indentation'?: Linter.RuleEntry<[]>
|
|
4765
4821
|
/**
|
|
4766
4822
|
* Allowing confidential information to be logged is security-sensitive
|
|
4767
4823
|
* @see https://sonarsource.github.io/rspec/#/rspec/S5757/javascript
|
|
4768
4824
|
*/
|
|
4769
|
-
'sonarjs/confidential-information-logging'?: Linter.RuleEntry<
|
|
4825
|
+
'sonarjs/confidential-information-logging'?: Linter.RuleEntry<[]>
|
|
4770
4826
|
/**
|
|
4771
4827
|
* Objects should not be created to be dropped immediately without being used
|
|
4772
4828
|
* @see https://sonarsource.github.io/rspec/#/rspec/S1848/javascript
|
|
@@ -4781,12 +4837,12 @@ interface RuleOptions {
|
|
|
4781
4837
|
* Disabling content security policy fetch directives is security-sensitive
|
|
4782
4838
|
* @see https://sonarsource.github.io/rspec/#/rspec/S5728/javascript
|
|
4783
4839
|
*/
|
|
4784
|
-
'sonarjs/content-security-policy'?: Linter.RuleEntry<
|
|
4840
|
+
'sonarjs/content-security-policy'?: Linter.RuleEntry<[]>
|
|
4785
4841
|
/**
|
|
4786
4842
|
* Creating cookies without the "HttpOnly" flag is security-sensitive
|
|
4787
4843
|
* @see https://sonarsource.github.io/rspec/#/rspec/S3330/javascript
|
|
4788
4844
|
*/
|
|
4789
|
-
'sonarjs/cookie-no-httponly'?: Linter.RuleEntry<
|
|
4845
|
+
'sonarjs/cookie-no-httponly'?: Linter.RuleEntry<[]>
|
|
4790
4846
|
/**
|
|
4791
4847
|
* Writing cookies is security-sensitive
|
|
4792
4848
|
* @see https://sonarsource.github.io/rspec/#/rspec/S2255/javascript
|
|
@@ -4797,12 +4853,12 @@ interface RuleOptions {
|
|
|
4797
4853
|
* Having a permissive Cross-Origin Resource Sharing policy is security-sensitive
|
|
4798
4854
|
* @see https://sonarsource.github.io/rspec/#/rspec/S5122/javascript
|
|
4799
4855
|
*/
|
|
4800
|
-
'sonarjs/cors'?: Linter.RuleEntry<
|
|
4856
|
+
'sonarjs/cors'?: Linter.RuleEntry<[]>
|
|
4801
4857
|
/**
|
|
4802
4858
|
* Disabling CSRF protections is security-sensitive
|
|
4803
4859
|
* @see https://sonarsource.github.io/rspec/#/rspec/S4502/javascript
|
|
4804
4860
|
*/
|
|
4805
|
-
'sonarjs/csrf'?: Linter.RuleEntry<
|
|
4861
|
+
'sonarjs/csrf'?: Linter.RuleEntry<[]>
|
|
4806
4862
|
/**
|
|
4807
4863
|
* Cyclomatic Complexity of functions should not be too high
|
|
4808
4864
|
* @see https://sonarsource.github.io/rspec/#/rspec/S1541/javascript
|
|
@@ -4822,17 +4878,17 @@ interface RuleOptions {
|
|
|
4822
4878
|
* Destructuring syntax should be used for assignments
|
|
4823
4879
|
* @see https://sonarsource.github.io/rspec/#/rspec/S3514/javascript
|
|
4824
4880
|
*/
|
|
4825
|
-
'sonarjs/destructuring-assignment-syntax'?: Linter.RuleEntry<
|
|
4881
|
+
'sonarjs/destructuring-assignment-syntax'?: Linter.RuleEntry<[]>
|
|
4826
4882
|
/**
|
|
4827
4883
|
* Strict equality operators should not be used with dissimilar types
|
|
4828
4884
|
* @see https://sonarsource.github.io/rspec/#/rspec/S3403/javascript
|
|
4829
4885
|
*/
|
|
4830
|
-
'sonarjs/different-types-comparison'?: Linter.RuleEntry<
|
|
4886
|
+
'sonarjs/different-types-comparison'?: Linter.RuleEntry<[]>
|
|
4831
4887
|
/**
|
|
4832
4888
|
* Disabling auto-escaping in template engines is security-sensitive
|
|
4833
4889
|
* @see https://sonarsource.github.io/rspec/#/rspec/S5247/javascript
|
|
4834
4890
|
*/
|
|
4835
|
-
'sonarjs/disabled-auto-escaping'?: Linter.RuleEntry<
|
|
4891
|
+
'sonarjs/disabled-auto-escaping'?: Linter.RuleEntry<[]>
|
|
4836
4892
|
/**
|
|
4837
4893
|
* Using remote artifacts without integrity checks is security-sensitive
|
|
4838
4894
|
* @see https://sonarsource.github.io/rspec/#/rspec/S5725/javascript
|
|
@@ -4848,12 +4904,12 @@ interface RuleOptions {
|
|
|
4848
4904
|
* @see https://sonarsource.github.io/rspec/#/rspec/S5743/javascript
|
|
4849
4905
|
* @deprecated
|
|
4850
4906
|
*/
|
|
4851
|
-
'sonarjs/dns-prefetching'?: Linter.RuleEntry<
|
|
4907
|
+
'sonarjs/dns-prefetching'?: Linter.RuleEntry<[]>
|
|
4852
4908
|
/**
|
|
4853
4909
|
* Character classes in regular expressions should not contain the same character twice
|
|
4854
4910
|
* @see https://sonarsource.github.io/rspec/#/rspec/S5869/javascript
|
|
4855
4911
|
*/
|
|
4856
|
-
'sonarjs/duplicates-in-character-class'?: Linter.RuleEntry<
|
|
4912
|
+
'sonarjs/duplicates-in-character-class'?: Linter.RuleEntry<[]>
|
|
4857
4913
|
/**
|
|
4858
4914
|
* "if ... else if" constructs should end with "else" clauses
|
|
4859
4915
|
* @see https://sonarsource.github.io/rspec/#/rspec/S126/javascript
|
|
@@ -4910,7 +4966,7 @@ interface RuleOptions {
|
|
|
4910
4966
|
* File uploads should be restricted
|
|
4911
4967
|
* @see https://sonarsource.github.io/rspec/#/rspec/S2598/javascript
|
|
4912
4968
|
*/
|
|
4913
|
-
'sonarjs/file-uploads'?: Linter.RuleEntry<
|
|
4969
|
+
'sonarjs/file-uploads'?: Linter.RuleEntry<[]>
|
|
4914
4970
|
/**
|
|
4915
4971
|
* Track uses of "FIXME" tags
|
|
4916
4972
|
* @see https://sonarsource.github.io/rspec/#/rspec/S1134/javascript
|
|
@@ -4925,17 +4981,17 @@ interface RuleOptions {
|
|
|
4925
4981
|
* A "for" loop update clause should move the counter in the right direction
|
|
4926
4982
|
* @see https://sonarsource.github.io/rspec/#/rspec/S2251/javascript
|
|
4927
4983
|
*/
|
|
4928
|
-
'sonarjs/for-loop-increment-sign'?: Linter.RuleEntry<
|
|
4984
|
+
'sonarjs/for-loop-increment-sign'?: Linter.RuleEntry<[]>
|
|
4929
4985
|
/**
|
|
4930
4986
|
* Disabling content security policy frame-ancestors directive is security-sensitive
|
|
4931
4987
|
* @see https://sonarsource.github.io/rspec/#/rspec/S5732/javascript
|
|
4932
4988
|
*/
|
|
4933
|
-
'sonarjs/frame-ancestors'?: Linter.RuleEntry<
|
|
4989
|
+
'sonarjs/frame-ancestors'?: Linter.RuleEntry<[]>
|
|
4934
4990
|
/**
|
|
4935
4991
|
* Functions should not be defined inside loops
|
|
4936
4992
|
* @see https://sonarsource.github.io/rspec/#/rspec/S1515/javascript
|
|
4937
4993
|
*/
|
|
4938
|
-
'sonarjs/function-inside-loop'?: Linter.RuleEntry<
|
|
4994
|
+
'sonarjs/function-inside-loop'?: Linter.RuleEntry<[]>
|
|
4939
4995
|
/**
|
|
4940
4996
|
* Function and method names should comply with a naming convention
|
|
4941
4997
|
* @see https://sonarsource.github.io/rspec/#/rspec/S100/javascript
|
|
@@ -4945,7 +5001,7 @@ interface RuleOptions {
|
|
|
4945
5001
|
* Functions should always return the same type
|
|
4946
5002
|
* @see https://sonarsource.github.io/rspec/#/rspec/S3800/javascript
|
|
4947
5003
|
*/
|
|
4948
|
-
'sonarjs/function-return-type'?: Linter.RuleEntry<
|
|
5004
|
+
'sonarjs/function-return-type'?: Linter.RuleEntry<[]>
|
|
4949
5005
|
/**
|
|
4950
5006
|
* Future reserved words should not be used as identifiers
|
|
4951
5007
|
* @see https://sonarsource.github.io/rspec/#/rspec/S1527/javascript
|
|
@@ -4970,12 +5026,12 @@ interface RuleOptions {
|
|
|
4970
5026
|
* "in" should not be used with primitive types
|
|
4971
5027
|
* @see https://sonarsource.github.io/rspec/#/rspec/S3785/javascript
|
|
4972
5028
|
*/
|
|
4973
|
-
'sonarjs/in-operator-type-error'?: Linter.RuleEntry<
|
|
5029
|
+
'sonarjs/in-operator-type-error'?: Linter.RuleEntry<[]>
|
|
4974
5030
|
/**
|
|
4975
5031
|
* Functions should be called consistently with or without "new"
|
|
4976
5032
|
* @see https://sonarsource.github.io/rspec/#/rspec/S3686/javascript
|
|
4977
5033
|
*/
|
|
4978
|
-
'sonarjs/inconsistent-function-call'?: Linter.RuleEntry<
|
|
5034
|
+
'sonarjs/inconsistent-function-call'?: Linter.RuleEntry<[]>
|
|
4979
5035
|
/**
|
|
4980
5036
|
* "indexOf" checks should not be for positive numbers
|
|
4981
5037
|
* @see https://sonarsource.github.io/rspec/#/rspec/S2692/javascript
|
|
@@ -4985,17 +5041,17 @@ interface RuleOptions {
|
|
|
4985
5041
|
* Creating cookies without the "secure" flag is security-sensitive
|
|
4986
5042
|
* @see https://sonarsource.github.io/rspec/#/rspec/S2092/javascript
|
|
4987
5043
|
*/
|
|
4988
|
-
'sonarjs/insecure-cookie'?: Linter.RuleEntry<
|
|
5044
|
+
'sonarjs/insecure-cookie'?: Linter.RuleEntry<[]>
|
|
4989
5045
|
/**
|
|
4990
5046
|
* JWT should be signed and verified with strong cipher algorithms
|
|
4991
5047
|
* @see https://sonarsource.github.io/rspec/#/rspec/S5659/javascript
|
|
4992
5048
|
*/
|
|
4993
|
-
'sonarjs/insecure-jwt-token'?: Linter.RuleEntry<
|
|
5049
|
+
'sonarjs/insecure-jwt-token'?: Linter.RuleEntry<[]>
|
|
4994
5050
|
/**
|
|
4995
5051
|
* Assertion arguments should be passed in the correct order
|
|
4996
5052
|
* @see https://sonarsource.github.io/rspec/#/rspec/S3415/javascript
|
|
4997
5053
|
*/
|
|
4998
|
-
'sonarjs/inverted-assertion-arguments'?: Linter.RuleEntry<
|
|
5054
|
+
'sonarjs/inverted-assertion-arguments'?: Linter.RuleEntry<[]>
|
|
4999
5055
|
/**
|
|
5000
5056
|
* React components should not render non-boolean condition values
|
|
5001
5057
|
* @see https://sonarsource.github.io/rspec/#/rspec/S6439/javascript
|
|
@@ -5095,12 +5151,12 @@ interface RuleOptions {
|
|
|
5095
5151
|
* Tests should not execute any code after "done()" is called
|
|
5096
5152
|
* @see https://sonarsource.github.io/rspec/#/rspec/S6079/javascript
|
|
5097
5153
|
*/
|
|
5098
|
-
'sonarjs/no-code-after-done'?: Linter.RuleEntry<
|
|
5154
|
+
'sonarjs/no-code-after-done'?: Linter.RuleEntry<[]>
|
|
5099
5155
|
/**
|
|
5100
5156
|
* Mergeable "if" statements should be combined
|
|
5101
5157
|
* @see https://sonarsource.github.io/rspec/#/rspec/S1066/javascript
|
|
5102
5158
|
*/
|
|
5103
|
-
'sonarjs/no-collapsible-if'?: Linter.RuleEntry<
|
|
5159
|
+
'sonarjs/no-collapsible-if'?: Linter.RuleEntry<[]>
|
|
5104
5160
|
/**
|
|
5105
5161
|
* Collection size and array length comparisons should make sense
|
|
5106
5162
|
* @see https://sonarsource.github.io/rspec/#/rspec/S3981/javascript
|
|
@@ -5130,7 +5186,7 @@ interface RuleOptions {
|
|
|
5130
5186
|
* Union and intersection types should not include duplicated constituents
|
|
5131
5187
|
* @see https://sonarsource.github.io/rspec/#/rspec/S4621/javascript
|
|
5132
5188
|
*/
|
|
5133
|
-
'sonarjs/no-duplicate-in-composite'?: Linter.RuleEntry<
|
|
5189
|
+
'sonarjs/no-duplicate-in-composite'?: Linter.RuleEntry<[]>
|
|
5134
5190
|
/**
|
|
5135
5191
|
* String literals should not be duplicated
|
|
5136
5192
|
* @see https://sonarsource.github.io/rspec/#/rspec/S1192/javascript
|
|
@@ -5140,12 +5196,12 @@ interface RuleOptions {
|
|
|
5140
5196
|
* Two branches in a conditional structure should not have exactly the same implementation
|
|
5141
5197
|
* @see https://sonarsource.github.io/rspec/#/rspec/S1871/javascript
|
|
5142
5198
|
*/
|
|
5143
|
-
'sonarjs/no-duplicated-branches'?: Linter.RuleEntry<
|
|
5199
|
+
'sonarjs/no-duplicated-branches'?: Linter.RuleEntry<[]>
|
|
5144
5200
|
/**
|
|
5145
5201
|
* Collection elements should not be replaced unconditionally
|
|
5146
5202
|
* @see https://sonarsource.github.io/rspec/#/rspec/S4143/javascript
|
|
5147
5203
|
*/
|
|
5148
|
-
'sonarjs/no-element-overwrite'?: Linter.RuleEntry<
|
|
5204
|
+
'sonarjs/no-element-overwrite'?: Linter.RuleEntry<[]>
|
|
5149
5205
|
/**
|
|
5150
5206
|
* Reluctant quantifiers in regular expressions should be followed by an expression that can't match the empty string
|
|
5151
5207
|
* @see https://sonarsource.github.io/rspec/#/rspec/S6019/javascript
|
|
@@ -5190,7 +5246,7 @@ interface RuleOptions {
|
|
|
5190
5246
|
* Function calls should not pass extra arguments
|
|
5191
5247
|
* @see https://sonarsource.github.io/rspec/#/rspec/S930/javascript
|
|
5192
5248
|
*/
|
|
5193
|
-
'sonarjs/no-extra-arguments'?: Linter.RuleEntry<
|
|
5249
|
+
'sonarjs/no-extra-arguments'?: Linter.RuleEntry<[]>
|
|
5194
5250
|
/**
|
|
5195
5251
|
* Switch cases should end with an unconditional "break" statement
|
|
5196
5252
|
* @see https://sonarsource.github.io/rspec/#/rspec/S128/javascript
|
|
@@ -5220,7 +5276,7 @@ interface RuleOptions {
|
|
|
5220
5276
|
* Boolean expressions should not be gratuitous
|
|
5221
5277
|
* @see https://sonarsource.github.io/rspec/#/rspec/S2589/javascript
|
|
5222
5278
|
*/
|
|
5223
|
-
'sonarjs/no-gratuitous-expressions'?: Linter.RuleEntry<
|
|
5279
|
+
'sonarjs/no-gratuitous-expressions'?: Linter.RuleEntry<[]>
|
|
5224
5280
|
/**
|
|
5225
5281
|
* Using hardcoded IP addresses is security-sensitive
|
|
5226
5282
|
* @see https://sonarsource.github.io/rspec/#/rspec/S1313/javascript
|
|
@@ -5245,12 +5301,12 @@ interface RuleOptions {
|
|
|
5245
5301
|
* "if/else if" chains and "switch" cases should not have the same condition
|
|
5246
5302
|
* @see https://sonarsource.github.io/rspec/#/rspec/S1862/javascript
|
|
5247
5303
|
*/
|
|
5248
|
-
'sonarjs/no-identical-conditions'?: Linter.RuleEntry<
|
|
5304
|
+
'sonarjs/no-identical-conditions'?: Linter.RuleEntry<[]>
|
|
5249
5305
|
/**
|
|
5250
5306
|
* Identical expressions should not be used on both sides of a binary operator
|
|
5251
5307
|
* @see https://sonarsource.github.io/rspec/#/rspec/S1764/javascript
|
|
5252
5308
|
*/
|
|
5253
|
-
'sonarjs/no-identical-expressions'?: Linter.RuleEntry<
|
|
5309
|
+
'sonarjs/no-identical-expressions'?: Linter.RuleEntry<[]>
|
|
5254
5310
|
/**
|
|
5255
5311
|
* Functions should not have identical implementations
|
|
5256
5312
|
* @see https://sonarsource.github.io/rspec/#/rspec/S4144/javascript
|
|
@@ -5290,12 +5346,12 @@ interface RuleOptions {
|
|
|
5290
5346
|
* Functions should use "return" consistently
|
|
5291
5347
|
* @see https://sonarsource.github.io/rspec/#/rspec/S3801/javascript
|
|
5292
5348
|
*/
|
|
5293
|
-
'sonarjs/no-inconsistent-returns'?: Linter.RuleEntry<
|
|
5349
|
+
'sonarjs/no-inconsistent-returns'?: Linter.RuleEntry<[]>
|
|
5294
5350
|
/**
|
|
5295
5351
|
* Strings and non-strings should not be added
|
|
5296
5352
|
* @see https://sonarsource.github.io/rspec/#/rspec/S3402/javascript
|
|
5297
5353
|
*/
|
|
5298
|
-
'sonarjs/no-incorrect-string-concat'?: Linter.RuleEntry<
|
|
5354
|
+
'sonarjs/no-incorrect-string-concat'?: Linter.RuleEntry<[]>
|
|
5299
5355
|
/**
|
|
5300
5356
|
* Users should not use internal APIs
|
|
5301
5357
|
* @see https://sonarsource.github.io/rspec/#/rspec/S6627/javascript
|
|
@@ -5306,11 +5362,6 @@ interface RuleOptions {
|
|
|
5306
5362
|
* @see https://sonarsource.github.io/rspec/#/rspec/S5604/javascript
|
|
5307
5363
|
*/
|
|
5308
5364
|
'sonarjs/no-intrusive-permissions'?: Linter.RuleEntry<SonarjsNoIntrusivePermissions>
|
|
5309
|
-
/**
|
|
5310
|
-
* "await" should only be used with promises
|
|
5311
|
-
* @see https://sonarsource.github.io/rspec/#/rspec/S4123/javascript
|
|
5312
|
-
*/
|
|
5313
|
-
'sonarjs/no-invalid-await'?: Linter.RuleEntry<[]>
|
|
5314
5365
|
/**
|
|
5315
5366
|
* Regular expressions should be syntactically valid
|
|
5316
5367
|
* @see https://sonarsource.github.io/rspec/#/rspec/S5856/javascript
|
|
@@ -5320,7 +5371,7 @@ interface RuleOptions {
|
|
|
5320
5371
|
* Function returns should not be invariant
|
|
5321
5372
|
* @see https://sonarsource.github.io/rspec/#/rspec/S3516/javascript
|
|
5322
5373
|
*/
|
|
5323
|
-
'sonarjs/no-invariant-returns'?: Linter.RuleEntry<
|
|
5374
|
+
'sonarjs/no-invariant-returns'?: Linter.RuleEntry<[]>
|
|
5324
5375
|
/**
|
|
5325
5376
|
* Boolean checks should not be inverted
|
|
5326
5377
|
* @see https://sonarsource.github.io/rspec/#/rspec/S1940/javascript
|
|
@@ -5330,7 +5381,7 @@ interface RuleOptions {
|
|
|
5330
5381
|
* Forwarding client IP address is security-sensitive
|
|
5331
5382
|
* @see https://sonarsource.github.io/rspec/#/rspec/S5759/javascript
|
|
5332
5383
|
*/
|
|
5333
|
-
'sonarjs/no-ip-forward'?: Linter.RuleEntry<
|
|
5384
|
+
'sonarjs/no-ip-forward'?: Linter.RuleEntry<[]>
|
|
5334
5385
|
/**
|
|
5335
5386
|
* Labels should not be used
|
|
5336
5387
|
* @see https://sonarsource.github.io/rspec/#/rspec/S1119/javascript
|
|
@@ -5345,7 +5396,7 @@ interface RuleOptions {
|
|
|
5345
5396
|
* Allowing browsers to sniff MIME types is security-sensitive
|
|
5346
5397
|
* @see https://sonarsource.github.io/rspec/#/rspec/S5734/javascript
|
|
5347
5398
|
*/
|
|
5348
|
-
'sonarjs/no-mime-sniff'?: Linter.RuleEntry<
|
|
5399
|
+
'sonarjs/no-mime-sniff'?: Linter.RuleEntry<[]>
|
|
5349
5400
|
/**
|
|
5350
5401
|
* Array-mutating methods should not be used misleadingly
|
|
5351
5402
|
* @see https://sonarsource.github.io/rspec/#/rspec/S4043/javascript
|
|
@@ -5360,7 +5411,7 @@ interface RuleOptions {
|
|
|
5360
5411
|
* Allowing mixed-content is security-sensitive
|
|
5361
5412
|
* @see https://sonarsource.github.io/rspec/#/rspec/S5730/javascript
|
|
5362
5413
|
*/
|
|
5363
|
-
'sonarjs/no-mixed-content'?: Linter.RuleEntry<
|
|
5414
|
+
'sonarjs/no-mixed-content'?: Linter.RuleEntry<[]>
|
|
5364
5415
|
/**
|
|
5365
5416
|
* Assignments should not be made from within sub-expressions
|
|
5366
5417
|
* @see https://sonarsource.github.io/rspec/#/rspec/S1121/javascript
|
|
@@ -5430,23 +5481,23 @@ interface RuleOptions {
|
|
|
5430
5481
|
* Optional property declarations should not use both '?' and 'undefined' syntax
|
|
5431
5482
|
* @see https://sonarsource.github.io/rspec/#/rspec/S4782/javascript
|
|
5432
5483
|
*/
|
|
5433
|
-
'sonarjs/no-redundant-optional'?: Linter.RuleEntry<
|
|
5484
|
+
'sonarjs/no-redundant-optional'?: Linter.RuleEntry<[]>
|
|
5434
5485
|
/**
|
|
5435
5486
|
* Redundant pairs of parentheses should be removed
|
|
5436
5487
|
* @see https://sonarsource.github.io/rspec/#/rspec/S1110/javascript
|
|
5437
5488
|
* @deprecated
|
|
5438
5489
|
*/
|
|
5439
|
-
'sonarjs/no-redundant-parentheses'?: Linter.RuleEntry<
|
|
5490
|
+
'sonarjs/no-redundant-parentheses'?: Linter.RuleEntry<[]>
|
|
5440
5491
|
/**
|
|
5441
5492
|
* Variables should be defined before being used
|
|
5442
5493
|
* @see https://sonarsource.github.io/rspec/#/rspec/S3827/javascript
|
|
5443
5494
|
*/
|
|
5444
|
-
'sonarjs/no-reference-error'?: Linter.RuleEntry<
|
|
5495
|
+
'sonarjs/no-reference-error'?: Linter.RuleEntry<[]>
|
|
5445
5496
|
/**
|
|
5446
5497
|
* Disabling strict HTTP no-referrer policy is security-sensitive
|
|
5447
5498
|
* @see https://sonarsource.github.io/rspec/#/rspec/S5736/javascript
|
|
5448
5499
|
*/
|
|
5449
|
-
'sonarjs/no-referrer-policy'?: Linter.RuleEntry<
|
|
5500
|
+
'sonarjs/no-referrer-policy'?: Linter.RuleEntry<[]>
|
|
5450
5501
|
/**
|
|
5451
5502
|
* Regular expressions should not contain multiple spaces
|
|
5452
5503
|
* @see https://sonarsource.github.io/rspec/#/rspec/S6326/javascript
|
|
@@ -5466,17 +5517,17 @@ interface RuleOptions {
|
|
|
5466
5517
|
* Assertions should not be given twice the same argument
|
|
5467
5518
|
* @see https://sonarsource.github.io/rspec/#/rspec/S5863/javascript
|
|
5468
5519
|
*/
|
|
5469
|
-
'sonarjs/no-same-argument-assert'?: Linter.RuleEntry<
|
|
5520
|
+
'sonarjs/no-same-argument-assert'?: Linter.RuleEntry<[]>
|
|
5470
5521
|
/**
|
|
5471
5522
|
* Conditionals should start on new lines
|
|
5472
5523
|
* @see https://sonarsource.github.io/rspec/#/rspec/S3972/javascript
|
|
5473
5524
|
*/
|
|
5474
|
-
'sonarjs/no-same-line-conditional'?: Linter.RuleEntry<
|
|
5525
|
+
'sonarjs/no-same-line-conditional'?: Linter.RuleEntry<[]>
|
|
5475
5526
|
/**
|
|
5476
5527
|
* Methods should not contain selector parameters
|
|
5477
5528
|
* @see https://sonarsource.github.io/rspec/#/rspec/S2301/javascript
|
|
5478
5529
|
*/
|
|
5479
|
-
'sonarjs/no-selector-parameter'?: Linter.RuleEntry<
|
|
5530
|
+
'sonarjs/no-selector-parameter'?: Linter.RuleEntry<[]>
|
|
5480
5531
|
/**
|
|
5481
5532
|
* Tests should not be skipped without providing a reason
|
|
5482
5533
|
* @see https://sonarsource.github.io/rspec/#/rspec/S1607/javascript
|
|
@@ -5507,7 +5558,7 @@ interface RuleOptions {
|
|
|
5507
5558
|
* Promise rejections should not be caught by "try" blocks
|
|
5508
5559
|
* @see https://sonarsource.github.io/rspec/#/rspec/S4822/javascript
|
|
5509
5560
|
*/
|
|
5510
|
-
'sonarjs/no-try-promise'?: Linter.RuleEntry<
|
|
5561
|
+
'sonarjs/no-try-promise'?: Linter.RuleEntry<[]>
|
|
5511
5562
|
/**
|
|
5512
5563
|
* "undefined" should not be passed as the value of optional parameters
|
|
5513
5564
|
* @see https://sonarsource.github.io/rspec/#/rspec/S4623/javascript
|
|
@@ -5582,7 +5633,7 @@ interface RuleOptions {
|
|
|
5582
5633
|
* Variables declared with "var" should be declared before they are used
|
|
5583
5634
|
* @see https://sonarsource.github.io/rspec/#/rspec/S1526/javascript
|
|
5584
5635
|
*/
|
|
5585
|
-
'sonarjs/no-variable-usage-before-declaration'?: Linter.RuleEntry<
|
|
5636
|
+
'sonarjs/no-variable-usage-before-declaration'?: Linter.RuleEntry<[]>
|
|
5586
5637
|
/**
|
|
5587
5638
|
* Disabling Vue.js built-in escaping is security-sensitive
|
|
5588
5639
|
* @see https://sonarsource.github.io/rspec/#/rspec/S6299/javascript
|
|
@@ -5613,7 +5664,7 @@ interface RuleOptions {
|
|
|
5613
5664
|
* Arithmetic operators should only have numbers as operands
|
|
5614
5665
|
* @see https://sonarsource.github.io/rspec/#/rspec/S3760/javascript
|
|
5615
5666
|
*/
|
|
5616
|
-
'sonarjs/non-number-in-arithmetic-expression'?: Linter.RuleEntry<
|
|
5667
|
+
'sonarjs/non-number-in-arithmetic-expression'?: Linter.RuleEntry<[]>
|
|
5617
5668
|
/**
|
|
5618
5669
|
* Properties of variables with "null" or "undefined" values should not be accessed
|
|
5619
5670
|
* @see https://sonarsource.github.io/rspec/#/rspec/S2259/javascript
|
|
@@ -5740,7 +5791,7 @@ interface RuleOptions {
|
|
|
5740
5791
|
* Shorthand object properties should be grouped at the beginning or end of an object declaration
|
|
5741
5792
|
* @see https://sonarsource.github.io/rspec/#/rspec/S3499/javascript
|
|
5742
5793
|
*/
|
|
5743
|
-
'sonarjs/shorthand-property-grouping'?: Linter.RuleEntry<
|
|
5794
|
+
'sonarjs/shorthand-property-grouping'?: Linter.RuleEntry<[]>
|
|
5744
5795
|
/**
|
|
5745
5796
|
* Character classes in regular expressions should not contain only one character
|
|
5746
5797
|
* @see https://sonarsource.github.io/rspec/#/rspec/S6397/javascript
|
|
@@ -5782,17 +5833,17 @@ interface RuleOptions {
|
|
|
5782
5833
|
* Regular expressions with the global flag should be used with caution
|
|
5783
5834
|
* @see https://sonarsource.github.io/rspec/#/rspec/S6351/javascript
|
|
5784
5835
|
*/
|
|
5785
|
-
'sonarjs/stateful-regex'?: Linter.RuleEntry<
|
|
5836
|
+
'sonarjs/stateful-regex'?: Linter.RuleEntry<[]>
|
|
5786
5837
|
/**
|
|
5787
5838
|
* Disabling Strict-Transport-Security policy is security-sensitive
|
|
5788
5839
|
* @see https://sonarsource.github.io/rspec/#/rspec/S5739/javascript
|
|
5789
5840
|
*/
|
|
5790
|
-
'sonarjs/strict-transport-security'?: Linter.RuleEntry<
|
|
5841
|
+
'sonarjs/strict-transport-security'?: Linter.RuleEntry<[]>
|
|
5791
5842
|
/**
|
|
5792
5843
|
* Comparison operators should not be used with strings
|
|
5793
5844
|
* @see https://sonarsource.github.io/rspec/#/rspec/S3003/javascript
|
|
5794
5845
|
*/
|
|
5795
|
-
'sonarjs/strings-comparison'?: Linter.RuleEntry<
|
|
5846
|
+
'sonarjs/strings-comparison'?: Linter.RuleEntry<[]>
|
|
5796
5847
|
/**
|
|
5797
5848
|
* "super()" should be invoked appropriately
|
|
5798
5849
|
* @see https://sonarsource.github.io/rspec/#/rspec/S3854/javascript
|
|
@@ -5822,12 +5873,12 @@ interface RuleOptions {
|
|
|
5822
5873
|
* Loops should not contain more than a single "break" or "continue" statement
|
|
5823
5874
|
* @see https://sonarsource.github.io/rspec/#/rspec/S135/javascript
|
|
5824
5875
|
*/
|
|
5825
|
-
'sonarjs/too-many-break-or-continue-in-loop'?: Linter.RuleEntry<
|
|
5876
|
+
'sonarjs/too-many-break-or-continue-in-loop'?: Linter.RuleEntry<[]>
|
|
5826
5877
|
/**
|
|
5827
5878
|
* Regular expressions using Unicode character classes or property escapes should enable the unicode flag
|
|
5828
5879
|
* @see https://sonarsource.github.io/rspec/#/rspec/S5867/javascript
|
|
5829
5880
|
*/
|
|
5830
|
-
'sonarjs/unicode-aware-regex'?: Linter.RuleEntry<
|
|
5881
|
+
'sonarjs/unicode-aware-regex'?: Linter.RuleEntry<[]>
|
|
5831
5882
|
/**
|
|
5832
5883
|
* Unnecessary imports should be removed
|
|
5833
5884
|
* @see https://sonarsource.github.io/rspec/#/rspec/S1128/javascript
|
|
@@ -5837,32 +5888,33 @@ interface RuleOptions {
|
|
|
5837
5888
|
* Names of regular expressions named groups should be used
|
|
5838
5889
|
* @see https://sonarsource.github.io/rspec/#/rspec/S5860/javascript
|
|
5839
5890
|
*/
|
|
5840
|
-
'sonarjs/unused-named-groups'?: Linter.RuleEntry<
|
|
5891
|
+
'sonarjs/unused-named-groups'?: Linter.RuleEntry<[]>
|
|
5841
5892
|
/**
|
|
5842
5893
|
* Server certificates should be verified during SSL/TLS connections
|
|
5843
5894
|
* @see https://sonarsource.github.io/rspec/#/rspec/S4830/javascript
|
|
5844
5895
|
*/
|
|
5845
|
-
'sonarjs/unverified-certificate'?: Linter.RuleEntry<
|
|
5896
|
+
'sonarjs/unverified-certificate'?: Linter.RuleEntry<[]>
|
|
5846
5897
|
/**
|
|
5847
5898
|
* Server hostnames should be verified during SSL/TLS connections
|
|
5848
5899
|
* @see https://sonarsource.github.io/rspec/#/rspec/S5527/javascript
|
|
5849
5900
|
*/
|
|
5850
|
-
'sonarjs/unverified-hostname'?: Linter.RuleEntry<
|
|
5901
|
+
'sonarjs/unverified-hostname'?: Linter.RuleEntry<[]>
|
|
5851
5902
|
/**
|
|
5852
5903
|
* "const" variables should not be reassigned
|
|
5853
5904
|
* @see https://sonarsource.github.io/rspec/#/rspec/S3500/javascript
|
|
5854
5905
|
*/
|
|
5855
|
-
'sonarjs/updated-const-var'?: Linter.RuleEntry<
|
|
5906
|
+
'sonarjs/updated-const-var'?: Linter.RuleEntry<[]>
|
|
5856
5907
|
/**
|
|
5857
5908
|
* Loop counters should not be assigned within the loop body
|
|
5858
5909
|
* @see https://sonarsource.github.io/rspec/#/rspec/S2310/javascript
|
|
5910
|
+
* @deprecated
|
|
5859
5911
|
*/
|
|
5860
|
-
'sonarjs/updated-loop-counter'?: Linter.RuleEntry<
|
|
5912
|
+
'sonarjs/updated-loop-counter'?: Linter.RuleEntry<[]>
|
|
5861
5913
|
/**
|
|
5862
5914
|
* Type aliases should be used
|
|
5863
5915
|
* @see https://sonarsource.github.io/rspec/#/rspec/S4323/javascript
|
|
5864
5916
|
*/
|
|
5865
|
-
'sonarjs/use-type-alias'?: Linter.RuleEntry<
|
|
5917
|
+
'sonarjs/use-type-alias'?: Linter.RuleEntry<[]>
|
|
5866
5918
|
/**
|
|
5867
5919
|
* Results of operations on strings should not be ignored
|
|
5868
5920
|
* @see https://sonarsource.github.io/rspec/#/rspec/S1154/javascript
|
|
@@ -5904,7 +5956,7 @@ interface RuleOptions {
|
|
|
5904
5956
|
* XML parsers should not be vulnerable to XXE attacks
|
|
5905
5957
|
* @see https://sonarsource.github.io/rspec/#/rspec/S2755/javascript
|
|
5906
5958
|
*/
|
|
5907
|
-
'sonarjs/xml-parser-xxe'?: Linter.RuleEntry<
|
|
5959
|
+
'sonarjs/xml-parser-xxe'?: Linter.RuleEntry<[]>
|
|
5908
5960
|
/**
|
|
5909
5961
|
* Executing XPath expressions is security-sensitive
|
|
5910
5962
|
* @see https://sonarsource.github.io/rspec/#/rspec/S4817/javascript
|
|
@@ -6986,6 +7038,11 @@ interface RuleOptions {
|
|
|
6986
7038
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/consistent-test-it.md
|
|
6987
7039
|
*/
|
|
6988
7040
|
'vitest/consistent-test-it'?: Linter.RuleEntry<VitestConsistentTestIt>
|
|
7041
|
+
/**
|
|
7042
|
+
* enforce using vitest or vi but not both
|
|
7043
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/consistent-vitest-vi.md
|
|
7044
|
+
*/
|
|
7045
|
+
'vitest/consistent-vitest-vi'?: Linter.RuleEntry<VitestConsistentVitestVi>
|
|
6989
7046
|
/**
|
|
6990
7047
|
* enforce having expectation in test body
|
|
6991
7048
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/expect-expect.md
|
|
@@ -7062,6 +7119,11 @@ interface RuleOptions {
|
|
|
7062
7119
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-import-node-test.md
|
|
7063
7120
|
*/
|
|
7064
7121
|
'vitest/no-import-node-test'?: Linter.RuleEntry<[]>
|
|
7122
|
+
/**
|
|
7123
|
+
* disallow importing Vitest globals
|
|
7124
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-importing-vitest-globals.md
|
|
7125
|
+
*/
|
|
7126
|
+
'vitest/no-importing-vitest-globals'?: Linter.RuleEntry<[]>
|
|
7065
7127
|
/**
|
|
7066
7128
|
* disallow string interpolation in snapshots
|
|
7067
7129
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-interpolation-in-snapshots.md
|
|
@@ -7098,7 +7160,7 @@ interface RuleOptions {
|
|
|
7098
7160
|
*/
|
|
7099
7161
|
'vitest/no-standalone-expect'?: Linter.RuleEntry<VitestNoStandaloneExpect>
|
|
7100
7162
|
/**
|
|
7101
|
-
*
|
|
7163
|
+
* disallow using the `f` and `x` prefixes in favour of `.only` and `.skip`
|
|
7102
7164
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-test-prefixes.md
|
|
7103
7165
|
*/
|
|
7104
7166
|
'vitest/no-test-prefixes'?: Linter.RuleEntry<[]>
|
|
@@ -7147,6 +7209,16 @@ interface RuleOptions {
|
|
|
7147
7209
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/padding-around-test-blocks.md
|
|
7148
7210
|
*/
|
|
7149
7211
|
'vitest/padding-around-test-blocks'?: Linter.RuleEntry<[]>
|
|
7212
|
+
/**
|
|
7213
|
+
* enforce using `toBeCalledOnce()` or `toHaveBeenCalledOnce()`
|
|
7214
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-called-once.md
|
|
7215
|
+
*/
|
|
7216
|
+
'vitest/prefer-called-once'?: Linter.RuleEntry<[]>
|
|
7217
|
+
/**
|
|
7218
|
+
* enforce using `toBeCalledTimes(1)` or `toHaveBeenCalledTimes(1)`
|
|
7219
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-called-times.md
|
|
7220
|
+
*/
|
|
7221
|
+
'vitest/prefer-called-times'?: Linter.RuleEntry<[]>
|
|
7150
7222
|
/**
|
|
7151
7223
|
* enforce using `toBeCalledWith()` or `toHaveBeenCalledWith()`
|
|
7152
7224
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-called-with.md
|
|
@@ -7192,6 +7264,11 @@ interface RuleOptions {
|
|
|
7192
7264
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-hooks-on-top.md
|
|
7193
7265
|
*/
|
|
7194
7266
|
'vitest/prefer-hooks-on-top'?: Linter.RuleEntry<[]>
|
|
7267
|
+
/**
|
|
7268
|
+
* enforce importing Vitest globals
|
|
7269
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-importing-vitest-globals.md
|
|
7270
|
+
*/
|
|
7271
|
+
'vitest/prefer-importing-vitest-globals'?: Linter.RuleEntry<[]>
|
|
7195
7272
|
/**
|
|
7196
7273
|
* enforce lowercase titles
|
|
7197
7274
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-lowercase-title.md
|
|
@@ -7307,6 +7384,11 @@ interface RuleOptions {
|
|
|
7307
7384
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/valid-title.md
|
|
7308
7385
|
*/
|
|
7309
7386
|
'vitest/valid-title'?: Linter.RuleEntry<VitestValidTitle>
|
|
7387
|
+
/**
|
|
7388
|
+
* disallow `.todo` usage
|
|
7389
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/warn-todo.md
|
|
7390
|
+
*/
|
|
7391
|
+
'vitest/warn-todo'?: Linter.RuleEntry<[]>
|
|
7310
7392
|
/**
|
|
7311
7393
|
* require or disallow block style mappings.
|
|
7312
7394
|
* @see https://ota-meshi.github.io/eslint-plugin-yml/rules/block-mapping.html
|
|
@@ -7447,6 +7529,79 @@ interface RuleOptions {
|
|
|
7447
7529
|
* @see https://ota-meshi.github.io/eslint-plugin-yml/rules/vue-custom-block/no-parsing-error.html
|
|
7448
7530
|
*/
|
|
7449
7531
|
'yaml/vue-custom-block/no-parsing-error'?: Linter.RuleEntry<[]>
|
|
7532
|
+
'you-dont-need-lodash-underscore/all'?: Linter.RuleEntry<[]>
|
|
7533
|
+
'you-dont-need-lodash-underscore/any'?: Linter.RuleEntry<[]>
|
|
7534
|
+
'you-dont-need-lodash-underscore/assign'?: Linter.RuleEntry<[]>
|
|
7535
|
+
'you-dont-need-lodash-underscore/bind'?: Linter.RuleEntry<[]>
|
|
7536
|
+
'you-dont-need-lodash-underscore/capitalize'?: Linter.RuleEntry<[]>
|
|
7537
|
+
'you-dont-need-lodash-underscore/cast-array'?: Linter.RuleEntry<[]>
|
|
7538
|
+
'you-dont-need-lodash-underscore/clone-deep'?: Linter.RuleEntry<[]>
|
|
7539
|
+
'you-dont-need-lodash-underscore/collect'?: Linter.RuleEntry<[]>
|
|
7540
|
+
'you-dont-need-lodash-underscore/concat'?: Linter.RuleEntry<[]>
|
|
7541
|
+
'you-dont-need-lodash-underscore/contains'?: Linter.RuleEntry<[]>
|
|
7542
|
+
'you-dont-need-lodash-underscore/defaults'?: Linter.RuleEntry<[]>
|
|
7543
|
+
'you-dont-need-lodash-underscore/detect'?: Linter.RuleEntry<[]>
|
|
7544
|
+
'you-dont-need-lodash-underscore/drop'?: Linter.RuleEntry<[]>
|
|
7545
|
+
'you-dont-need-lodash-underscore/drop-right'?: Linter.RuleEntry<[]>
|
|
7546
|
+
'you-dont-need-lodash-underscore/each'?: Linter.RuleEntry<[]>
|
|
7547
|
+
'you-dont-need-lodash-underscore/ends-with'?: Linter.RuleEntry<[]>
|
|
7548
|
+
'you-dont-need-lodash-underscore/entries'?: Linter.RuleEntry<[]>
|
|
7549
|
+
'you-dont-need-lodash-underscore/every'?: Linter.RuleEntry<[]>
|
|
7550
|
+
'you-dont-need-lodash-underscore/extend-own'?: Linter.RuleEntry<[]>
|
|
7551
|
+
'you-dont-need-lodash-underscore/fill'?: Linter.RuleEntry<[]>
|
|
7552
|
+
'you-dont-need-lodash-underscore/filter'?: Linter.RuleEntry<[]>
|
|
7553
|
+
'you-dont-need-lodash-underscore/find'?: Linter.RuleEntry<[]>
|
|
7554
|
+
'you-dont-need-lodash-underscore/find-index'?: Linter.RuleEntry<[]>
|
|
7555
|
+
'you-dont-need-lodash-underscore/first'?: Linter.RuleEntry<[]>
|
|
7556
|
+
'you-dont-need-lodash-underscore/flatten'?: Linter.RuleEntry<[]>
|
|
7557
|
+
'you-dont-need-lodash-underscore/foldl'?: Linter.RuleEntry<[]>
|
|
7558
|
+
'you-dont-need-lodash-underscore/foldr'?: Linter.RuleEntry<[]>
|
|
7559
|
+
'you-dont-need-lodash-underscore/for-each'?: Linter.RuleEntry<[]>
|
|
7560
|
+
'you-dont-need-lodash-underscore/get'?: Linter.RuleEntry<[]>
|
|
7561
|
+
'you-dont-need-lodash-underscore/head'?: Linter.RuleEntry<[]>
|
|
7562
|
+
'you-dont-need-lodash-underscore/includes'?: Linter.RuleEntry<[]>
|
|
7563
|
+
'you-dont-need-lodash-underscore/index-of'?: Linter.RuleEntry<[]>
|
|
7564
|
+
'you-dont-need-lodash-underscore/inject'?: Linter.RuleEntry<[]>
|
|
7565
|
+
'you-dont-need-lodash-underscore/is-array'?: Linter.RuleEntry<[]>
|
|
7566
|
+
'you-dont-need-lodash-underscore/is-array-buffer'?: Linter.RuleEntry<[]>
|
|
7567
|
+
'you-dont-need-lodash-underscore/is-date'?: Linter.RuleEntry<[]>
|
|
7568
|
+
'you-dont-need-lodash-underscore/is-finite'?: Linter.RuleEntry<[]>
|
|
7569
|
+
'you-dont-need-lodash-underscore/is-function'?: Linter.RuleEntry<[]>
|
|
7570
|
+
'you-dont-need-lodash-underscore/is-integer'?: Linter.RuleEntry<[]>
|
|
7571
|
+
'you-dont-need-lodash-underscore/is-nan'?: Linter.RuleEntry<[]>
|
|
7572
|
+
'you-dont-need-lodash-underscore/is-nil'?: Linter.RuleEntry<[]>
|
|
7573
|
+
'you-dont-need-lodash-underscore/is-null'?: Linter.RuleEntry<[]>
|
|
7574
|
+
'you-dont-need-lodash-underscore/is-string'?: Linter.RuleEntry<[]>
|
|
7575
|
+
'you-dont-need-lodash-underscore/is-undefined'?: Linter.RuleEntry<[]>
|
|
7576
|
+
'you-dont-need-lodash-underscore/join'?: Linter.RuleEntry<[]>
|
|
7577
|
+
'you-dont-need-lodash-underscore/keys'?: Linter.RuleEntry<[]>
|
|
7578
|
+
'you-dont-need-lodash-underscore/last'?: Linter.RuleEntry<[]>
|
|
7579
|
+
'you-dont-need-lodash-underscore/last-index-of'?: Linter.RuleEntry<[]>
|
|
7580
|
+
'you-dont-need-lodash-underscore/map'?: Linter.RuleEntry<[]>
|
|
7581
|
+
'you-dont-need-lodash-underscore/omit'?: Linter.RuleEntry<[]>
|
|
7582
|
+
'you-dont-need-lodash-underscore/pad-end'?: Linter.RuleEntry<[]>
|
|
7583
|
+
'you-dont-need-lodash-underscore/pad-start'?: Linter.RuleEntry<[]>
|
|
7584
|
+
'you-dont-need-lodash-underscore/pairs'?: Linter.RuleEntry<[]>
|
|
7585
|
+
'you-dont-need-lodash-underscore/reduce'?: Linter.RuleEntry<[]>
|
|
7586
|
+
'you-dont-need-lodash-underscore/reduce-right'?: Linter.RuleEntry<[]>
|
|
7587
|
+
'you-dont-need-lodash-underscore/repeat'?: Linter.RuleEntry<[]>
|
|
7588
|
+
'you-dont-need-lodash-underscore/replace'?: Linter.RuleEntry<[]>
|
|
7589
|
+
'you-dont-need-lodash-underscore/reverse'?: Linter.RuleEntry<[]>
|
|
7590
|
+
'you-dont-need-lodash-underscore/select'?: Linter.RuleEntry<[]>
|
|
7591
|
+
'you-dont-need-lodash-underscore/size'?: Linter.RuleEntry<[]>
|
|
7592
|
+
'you-dont-need-lodash-underscore/slice'?: Linter.RuleEntry<[]>
|
|
7593
|
+
'you-dont-need-lodash-underscore/some'?: Linter.RuleEntry<[]>
|
|
7594
|
+
'you-dont-need-lodash-underscore/split'?: Linter.RuleEntry<[]>
|
|
7595
|
+
'you-dont-need-lodash-underscore/starts-with'?: Linter.RuleEntry<[]>
|
|
7596
|
+
'you-dont-need-lodash-underscore/take-right'?: Linter.RuleEntry<[]>
|
|
7597
|
+
'you-dont-need-lodash-underscore/throttle'?: Linter.RuleEntry<[]>
|
|
7598
|
+
'you-dont-need-lodash-underscore/to-lower'?: Linter.RuleEntry<[]>
|
|
7599
|
+
'you-dont-need-lodash-underscore/to-pairs'?: Linter.RuleEntry<[]>
|
|
7600
|
+
'you-dont-need-lodash-underscore/to-upper'?: Linter.RuleEntry<[]>
|
|
7601
|
+
'you-dont-need-lodash-underscore/trim'?: Linter.RuleEntry<[]>
|
|
7602
|
+
'you-dont-need-lodash-underscore/union-by'?: Linter.RuleEntry<[]>
|
|
7603
|
+
'you-dont-need-lodash-underscore/uniq'?: Linter.RuleEntry<[]>
|
|
7604
|
+
'you-dont-need-lodash-underscore/values'?: Linter.RuleEntry<[]>
|
|
7450
7605
|
/**
|
|
7451
7606
|
* Prefers `z.enum` over a union of literals.
|
|
7452
7607
|
* @see https://github.com/gajus/eslint-plugin-zod#eslint-plugin-zod-rules-prefer-enum
|
|
@@ -7628,16 +7783,6 @@ type StylisticCurlyNewline = []|[(("always" | "never") | {
|
|
|
7628
7783
|
minElements?: number
|
|
7629
7784
|
consistent?: boolean
|
|
7630
7785
|
})
|
|
7631
|
-
TSEnumBody?: (("always" | "never") | {
|
|
7632
|
-
multiline?: boolean
|
|
7633
|
-
minElements?: number
|
|
7634
|
-
consistent?: boolean
|
|
7635
|
-
})
|
|
7636
|
-
TSInterfaceBody?: (("always" | "never") | {
|
|
7637
|
-
multiline?: boolean
|
|
7638
|
-
minElements?: number
|
|
7639
|
-
consistent?: boolean
|
|
7640
|
-
})
|
|
7641
7786
|
TSModuleBlock?: (("always" | "never") | {
|
|
7642
7787
|
multiline?: boolean
|
|
7643
7788
|
minElements?: number
|
|
@@ -7651,14 +7796,6 @@ type StylisticCurlyNewline = []|[(("always" | "never") | {
|
|
|
7651
7796
|
type StylisticDotLocation = []|[("object" | "property")]
|
|
7652
7797
|
// ----- @stylistic/eol-last -----
|
|
7653
7798
|
type StylisticEolLast = []|[("always" | "never" | "unix" | "windows")]
|
|
7654
|
-
// ----- @stylistic/func-call-spacing -----
|
|
7655
|
-
type StylisticFuncCallSpacing = ([]|["never"] | []|["always"]|["always", {
|
|
7656
|
-
allowNewlines?: boolean
|
|
7657
|
-
optionalChain?: {
|
|
7658
|
-
before?: boolean
|
|
7659
|
-
after?: boolean
|
|
7660
|
-
}
|
|
7661
|
-
}])
|
|
7662
7799
|
// ----- @stylistic/function-call-argument-newline -----
|
|
7663
7800
|
type StylisticFunctionCallArgumentNewline = []|[("always" | "never" | "consistent")]
|
|
7664
7801
|
// ----- @stylistic/function-call-spacing -----
|
|
@@ -7699,6 +7836,7 @@ type StylisticIndent = []|[("tab" | number)]|[("tab" | number), {
|
|
|
7699
7836
|
var?: (number | ("first" | "off"))
|
|
7700
7837
|
let?: (number | ("first" | "off"))
|
|
7701
7838
|
const?: (number | ("first" | "off"))
|
|
7839
|
+
using?: (number | ("first" | "off"))
|
|
7702
7840
|
})
|
|
7703
7841
|
outerIIFEBody?: (number | "off")
|
|
7704
7842
|
MemberExpression?: (number | "off")
|
|
@@ -7833,8 +7971,8 @@ type StylisticJsxSortProps = []|[{
|
|
|
7833
7971
|
multiline?: ("ignore" | "first" | "last")
|
|
7834
7972
|
ignoreCase?: boolean
|
|
7835
7973
|
noSortAlphabetically?: boolean
|
|
7836
|
-
reservedFirst?: (
|
|
7837
|
-
reservedLast?:
|
|
7974
|
+
reservedFirst?: (string[] | boolean)
|
|
7975
|
+
reservedLast?: string[]
|
|
7838
7976
|
locale?: string
|
|
7839
7977
|
}]
|
|
7840
7978
|
// ----- @stylistic/jsx-tag-spacing -----
|
|
@@ -8179,6 +8317,10 @@ type StylisticKeywordSpacing = []|[{
|
|
|
8179
8317
|
before?: boolean
|
|
8180
8318
|
after?: boolean
|
|
8181
8319
|
}
|
|
8320
|
+
using?: {
|
|
8321
|
+
before?: boolean
|
|
8322
|
+
after?: boolean
|
|
8323
|
+
}
|
|
8182
8324
|
yield?: {
|
|
8183
8325
|
before?: boolean
|
|
8184
8326
|
after?: boolean
|
|
@@ -8383,6 +8525,11 @@ type StylisticNoExtraParens = ([]|["functions"] | []|["all"]|["all", {
|
|
|
8383
8525
|
enforceForFunctionPrototypeMethods?: boolean
|
|
8384
8526
|
allowParensAfterCommentPattern?: string
|
|
8385
8527
|
nestedConditionalExpressions?: boolean
|
|
8528
|
+
allowNodesInSpreadElement?: {
|
|
8529
|
+
ConditionalExpression?: boolean
|
|
8530
|
+
LogicalExpression?: boolean
|
|
8531
|
+
AwaitExpression?: boolean
|
|
8532
|
+
}
|
|
8386
8533
|
}])
|
|
8387
8534
|
// ----- @stylistic/no-mixed-operators -----
|
|
8388
8535
|
type StylisticNoMixedOperators = []|[{
|
|
@@ -8460,6 +8607,11 @@ type StylisticObjectCurlyNewline = []|[((("always" | "never") | {
|
|
|
8460
8607
|
minProperties?: number
|
|
8461
8608
|
consistent?: boolean
|
|
8462
8609
|
})
|
|
8610
|
+
TSEnumBody?: (("always" | "never") | {
|
|
8611
|
+
multiline?: boolean
|
|
8612
|
+
minProperties?: number
|
|
8613
|
+
consistent?: boolean
|
|
8614
|
+
})
|
|
8463
8615
|
})]
|
|
8464
8616
|
// ----- @stylistic/object-curly-spacing -----
|
|
8465
8617
|
type StylisticObjectCurlySpacing = []|[("always" | "never")]|[("always" | "never"), {
|
|
@@ -8469,7 +8621,6 @@ type StylisticObjectCurlySpacing = []|[("always" | "never")]|[("always" | "never
|
|
|
8469
8621
|
// ----- @stylistic/object-property-newline -----
|
|
8470
8622
|
type StylisticObjectPropertyNewline = []|[{
|
|
8471
8623
|
allowAllPropertiesOnSameLine?: boolean
|
|
8472
|
-
allowMultiplePropertiesPerLine?: boolean
|
|
8473
8624
|
}]
|
|
8474
8625
|
// ----- @stylistic/one-var-declaration-per-line -----
|
|
8475
8626
|
type StylisticOneVarDeclarationPerLine = []|[("always" | "initializations")]
|
|
@@ -8493,7 +8644,7 @@ type StylisticPaddedBlocks = []|[(("always" | "never" | "start" | "end") | {
|
|
|
8493
8644
|
}]
|
|
8494
8645
|
// ----- @stylistic/padding-line-between-statements -----
|
|
8495
8646
|
type _StylisticPaddingLineBetweenStatementsPaddingType = ("any" | "never" | "always")
|
|
8496
|
-
type _StylisticPaddingLineBetweenStatementsStatementType = (("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-export" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-export" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload") | [("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-export" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-export" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload"), ...(("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-export" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-export" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload"))[]])
|
|
8647
|
+
type _StylisticPaddingLineBetweenStatementsStatementType = (("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-export" | "multiline-let" | "multiline-using" | "multiline-var" | "singleline-const" | "singleline-export" | "singleline-let" | "singleline-using" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "using" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload") | [("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-export" | "multiline-let" | "multiline-using" | "multiline-var" | "singleline-const" | "singleline-export" | "singleline-let" | "singleline-using" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "using" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload"), ...(("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-export" | "multiline-let" | "multiline-using" | "multiline-var" | "singleline-const" | "singleline-export" | "singleline-let" | "singleline-using" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "using" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload"))[]])
|
|
8497
8648
|
type StylisticPaddingLineBetweenStatements = {
|
|
8498
8649
|
blankLine: _StylisticPaddingLineBetweenStatementsPaddingType
|
|
8499
8650
|
prev: _StylisticPaddingLineBetweenStatementsStatementType
|
|
@@ -8532,12 +8683,14 @@ type StylisticSpaceBeforeBlocks = []|[(("always" | "never") | {
|
|
|
8532
8683
|
keywords?: ("always" | "never" | "off")
|
|
8533
8684
|
functions?: ("always" | "never" | "off")
|
|
8534
8685
|
classes?: ("always" | "never" | "off")
|
|
8686
|
+
modules?: ("always" | "never" | "off")
|
|
8535
8687
|
})]
|
|
8536
8688
|
// ----- @stylistic/space-before-function-paren -----
|
|
8537
8689
|
type StylisticSpaceBeforeFunctionParen = []|[(("always" | "never") | {
|
|
8538
8690
|
anonymous?: ("always" | "never" | "ignore")
|
|
8539
8691
|
named?: ("always" | "never" | "ignore")
|
|
8540
8692
|
asyncArrow?: ("always" | "never" | "ignore")
|
|
8693
|
+
catch?: ("always" | "never" | "ignore")
|
|
8541
8694
|
})]
|
|
8542
8695
|
// ----- @stylistic/space-in-parens -----
|
|
8543
8696
|
type StylisticSpaceInParens = []|[("always" | "never")]|[("always" | "never"), {
|
|
@@ -9105,6 +9258,8 @@ interface _TypescriptEslintNamingConvention_MatchRegexConfig {
|
|
|
9105
9258
|
// ----- @typescript-eslint/no-base-to-string -----
|
|
9106
9259
|
type TypescriptEslintNoBaseToString = []|[{
|
|
9107
9260
|
|
|
9261
|
+
checkUnknown?: boolean
|
|
9262
|
+
|
|
9108
9263
|
ignoredTypeNames?: string[]
|
|
9109
9264
|
}]
|
|
9110
9265
|
// ----- @typescript-eslint/no-confusing-void-expression -----
|
|
@@ -10309,6 +10464,10 @@ type ImportOrder = []|[{
|
|
|
10309
10464
|
type ImportPreferDefaultExport = []|[{
|
|
10310
10465
|
target?: ("single" | "any")
|
|
10311
10466
|
}]
|
|
10467
|
+
// ----- import/prefer-namespace-import -----
|
|
10468
|
+
type ImportPreferNamespaceImport = []|[{
|
|
10469
|
+
patterns?: string[]
|
|
10470
|
+
}]
|
|
10312
10471
|
// ----- jsdoc/check-examples -----
|
|
10313
10472
|
type JsdocCheckExamples = []|[{
|
|
10314
10473
|
allowInlineConfig?: boolean
|
|
@@ -10430,6 +10589,7 @@ type JsdocLinesBeforeBlock = []|[{
|
|
|
10430
10589
|
checkBlockStarts?: boolean
|
|
10431
10590
|
excludedTags?: string[]
|
|
10432
10591
|
ignoreSameLine?: boolean
|
|
10592
|
+
ignoreSingleLines?: boolean
|
|
10433
10593
|
lines?: number
|
|
10434
10594
|
}]
|
|
10435
10595
|
// ----- jsdoc/match-description -----
|
|
@@ -10473,6 +10633,7 @@ type JsdocMultilineBlocks = []|[{
|
|
|
10473
10633
|
noMultilineBlocks?: boolean
|
|
10474
10634
|
noSingleLineBlocks?: boolean
|
|
10475
10635
|
noZeroLineText?: boolean
|
|
10636
|
+
requireSingleLineUnderCount?: number
|
|
10476
10637
|
singleLineTags?: string[]
|
|
10477
10638
|
}]
|
|
10478
10639
|
// ----- jsdoc/no-bad-blocks -----
|
|
@@ -11253,10 +11414,28 @@ type JsxA11YTabindexNoPositive = []|[{
|
|
|
11253
11414
|
type MarkdownFencedCodeLanguage = []|[{
|
|
11254
11415
|
required?: string[]
|
|
11255
11416
|
}]
|
|
11417
|
+
// ----- markdown/no-duplicate-definitions -----
|
|
11418
|
+
type MarkdownNoDuplicateDefinitions = []|[{
|
|
11419
|
+
allowDefinitions?: string[]
|
|
11420
|
+
allowFootnoteDefinitions?: string[]
|
|
11421
|
+
}]
|
|
11422
|
+
// ----- markdown/no-duplicate-headings -----
|
|
11423
|
+
type MarkdownNoDuplicateHeadings = []|[{
|
|
11424
|
+
checkSiblingsOnly?: boolean
|
|
11425
|
+
}]
|
|
11256
11426
|
// ----- markdown/no-html -----
|
|
11257
11427
|
type MarkdownNoHtml = []|[{
|
|
11258
11428
|
allowed?: string[]
|
|
11259
11429
|
}]
|
|
11430
|
+
// ----- markdown/no-missing-link-fragments -----
|
|
11431
|
+
type MarkdownNoMissingLinkFragments = []|[{
|
|
11432
|
+
ignoreCase?: boolean
|
|
11433
|
+
allowPattern?: string
|
|
11434
|
+
}]
|
|
11435
|
+
// ----- markdown/no-multiple-h1 -----
|
|
11436
|
+
type MarkdownNoMultipleH1 = []|[{
|
|
11437
|
+
frontmatterTitle?: string
|
|
11438
|
+
}]
|
|
11260
11439
|
// ----- n/callback-return -----
|
|
11261
11440
|
type NCallbackReturn = []|[string[]]
|
|
11262
11441
|
// ----- n/exports-style -----
|
|
@@ -11631,8 +11810,7 @@ type PerfectionistSortArrayIncludes = {
|
|
|
11631
11810
|
groupKind?: ("mixed" | "literals-first" | "spreads-first")
|
|
11632
11811
|
|
|
11633
11812
|
customGroups?: ({
|
|
11634
|
-
|
|
11635
|
-
newlinesInside?: ("always" | "never")
|
|
11813
|
+
newlinesInside?: (("always" | "never") | number)
|
|
11636
11814
|
|
|
11637
11815
|
fallbackSort?: {
|
|
11638
11816
|
|
|
@@ -11663,8 +11841,7 @@ type PerfectionistSortArrayIncludes = {
|
|
|
11663
11841
|
} | string))
|
|
11664
11842
|
}[]
|
|
11665
11843
|
} | {
|
|
11666
|
-
|
|
11667
|
-
newlinesInside?: ("always" | "never")
|
|
11844
|
+
newlinesInside?: (("always" | "never") | number)
|
|
11668
11845
|
|
|
11669
11846
|
fallbackSort?: {
|
|
11670
11847
|
|
|
@@ -11747,12 +11924,12 @@ type PerfectionistSortArrayIncludes = {
|
|
|
11747
11924
|
})
|
|
11748
11925
|
|
|
11749
11926
|
partitionByNewLine?: boolean
|
|
11750
|
-
|
|
11751
|
-
newlinesBetween?: ("ignore" | "always" | "never")
|
|
11927
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
11752
11928
|
|
|
11753
11929
|
groups?: (string | string[] | {
|
|
11930
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
11754
11931
|
|
|
11755
|
-
|
|
11932
|
+
commentAbove?: string
|
|
11756
11933
|
})[]
|
|
11757
11934
|
}[]
|
|
11758
11935
|
// ----- perfectionist/sort-classes -----
|
|
@@ -11778,8 +11955,7 @@ type PerfectionistSortClasses = []|[{
|
|
|
11778
11955
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11779
11956
|
|
|
11780
11957
|
customGroups?: ({
|
|
11781
|
-
|
|
11782
|
-
newlinesInside?: ("always" | "never")
|
|
11958
|
+
newlinesInside?: (("always" | "never") | number)
|
|
11783
11959
|
|
|
11784
11960
|
fallbackSort?: {
|
|
11785
11961
|
|
|
@@ -11836,8 +12012,7 @@ type PerfectionistSortClasses = []|[{
|
|
|
11836
12012
|
} | string))
|
|
11837
12013
|
}[]
|
|
11838
12014
|
} | {
|
|
11839
|
-
|
|
11840
|
-
newlinesInside?: ("always" | "never")
|
|
12015
|
+
newlinesInside?: (("always" | "never") | number)
|
|
11841
12016
|
|
|
11842
12017
|
fallbackSort?: {
|
|
11843
12018
|
|
|
@@ -11943,12 +12118,12 @@ type PerfectionistSortClasses = []|[{
|
|
|
11943
12118
|
})
|
|
11944
12119
|
|
|
11945
12120
|
partitionByNewLine?: boolean
|
|
11946
|
-
|
|
11947
|
-
newlinesBetween?: ("ignore" | "always" | "never")
|
|
12121
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
11948
12122
|
|
|
11949
12123
|
groups?: (string | string[] | {
|
|
12124
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
11950
12125
|
|
|
11951
|
-
|
|
12126
|
+
commentAbove?: string
|
|
11952
12127
|
})[]
|
|
11953
12128
|
}]
|
|
11954
12129
|
// ----- perfectionist/sort-decorators -----
|
|
@@ -12025,8 +12200,9 @@ type PerfectionistSortDecorators = []|[{
|
|
|
12025
12200
|
}
|
|
12026
12201
|
|
|
12027
12202
|
groups?: (string | string[] | {
|
|
12203
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
12028
12204
|
|
|
12029
|
-
|
|
12205
|
+
commentAbove?: string
|
|
12030
12206
|
})[]
|
|
12031
12207
|
}]
|
|
12032
12208
|
// ----- perfectionist/sort-enums -----
|
|
@@ -12053,8 +12229,7 @@ type PerfectionistSortEnums = []|[{
|
|
|
12053
12229
|
customGroups?: ({
|
|
12054
12230
|
[k: string]: (string | string[]) | undefined
|
|
12055
12231
|
} | ({
|
|
12056
|
-
|
|
12057
|
-
newlinesInside?: ("always" | "never")
|
|
12232
|
+
newlinesInside?: (("always" | "never") | number)
|
|
12058
12233
|
|
|
12059
12234
|
fallbackSort?: {
|
|
12060
12235
|
|
|
@@ -12095,8 +12270,7 @@ type PerfectionistSortEnums = []|[{
|
|
|
12095
12270
|
} | string))
|
|
12096
12271
|
}[]
|
|
12097
12272
|
} | {
|
|
12098
|
-
|
|
12099
|
-
newlinesInside?: ("always" | "never")
|
|
12273
|
+
newlinesInside?: (("always" | "never") | number)
|
|
12100
12274
|
|
|
12101
12275
|
fallbackSort?: {
|
|
12102
12276
|
|
|
@@ -12178,12 +12352,12 @@ type PerfectionistSortEnums = []|[{
|
|
|
12178
12352
|
})
|
|
12179
12353
|
|
|
12180
12354
|
partitionByNewLine?: boolean
|
|
12181
|
-
|
|
12182
|
-
newlinesBetween?: ("ignore" | "always" | "never")
|
|
12355
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
12183
12356
|
|
|
12184
12357
|
groups?: (string | string[] | {
|
|
12358
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
12185
12359
|
|
|
12186
|
-
|
|
12360
|
+
commentAbove?: string
|
|
12187
12361
|
})[]
|
|
12188
12362
|
}]
|
|
12189
12363
|
// ----- perfectionist/sort-exports -----
|
|
@@ -12211,8 +12385,7 @@ type PerfectionistSortExports = {
|
|
|
12211
12385
|
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
12212
12386
|
|
|
12213
12387
|
customGroups?: ({
|
|
12214
|
-
|
|
12215
|
-
newlinesInside?: ("always" | "never")
|
|
12388
|
+
newlinesInside?: (("always" | "never") | number)
|
|
12216
12389
|
|
|
12217
12390
|
fallbackSort?: {
|
|
12218
12391
|
|
|
@@ -12245,8 +12418,7 @@ type PerfectionistSortExports = {
|
|
|
12245
12418
|
} | string))
|
|
12246
12419
|
}[]
|
|
12247
12420
|
} | {
|
|
12248
|
-
|
|
12249
|
-
newlinesInside?: ("always" | "never")
|
|
12421
|
+
newlinesInside?: (("always" | "never") | number)
|
|
12250
12422
|
|
|
12251
12423
|
fallbackSort?: {
|
|
12252
12424
|
|
|
@@ -12316,12 +12488,12 @@ type PerfectionistSortExports = {
|
|
|
12316
12488
|
})
|
|
12317
12489
|
|
|
12318
12490
|
partitionByNewLine?: boolean
|
|
12319
|
-
|
|
12320
|
-
newlinesBetween?: ("ignore" | "always" | "never")
|
|
12491
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
12321
12492
|
|
|
12322
12493
|
groups?: (string | string[] | {
|
|
12494
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
12323
12495
|
|
|
12324
|
-
|
|
12496
|
+
commentAbove?: string
|
|
12325
12497
|
})[]
|
|
12326
12498
|
}[]
|
|
12327
12499
|
// ----- perfectionist/sort-heritage-clauses -----
|
|
@@ -12351,8 +12523,9 @@ type PerfectionistSortHeritageClauses = []|[{
|
|
|
12351
12523
|
}
|
|
12352
12524
|
|
|
12353
12525
|
groups?: (string | string[] | {
|
|
12526
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
12354
12527
|
|
|
12355
|
-
|
|
12528
|
+
commentAbove?: string
|
|
12356
12529
|
})[]
|
|
12357
12530
|
}]
|
|
12358
12531
|
// ----- perfectionist/sort-imports -----
|
|
@@ -12386,8 +12559,7 @@ type PerfectionistSortImports = {
|
|
|
12386
12559
|
[k: string]: (string | string[]) | undefined
|
|
12387
12560
|
}
|
|
12388
12561
|
} | ({
|
|
12389
|
-
|
|
12390
|
-
newlinesInside?: ("always" | "never")
|
|
12562
|
+
newlinesInside?: (("always" | "never") | number)
|
|
12391
12563
|
|
|
12392
12564
|
fallbackSort?: {
|
|
12393
12565
|
|
|
@@ -12432,8 +12604,7 @@ type PerfectionistSortImports = {
|
|
|
12432
12604
|
} | string))
|
|
12433
12605
|
}[]
|
|
12434
12606
|
} | {
|
|
12435
|
-
|
|
12436
|
-
newlinesInside?: ("always" | "never")
|
|
12607
|
+
newlinesInside?: (("always" | "never") | number)
|
|
12437
12608
|
|
|
12438
12609
|
fallbackSort?: {
|
|
12439
12610
|
|
|
@@ -12476,6 +12647,12 @@ type PerfectionistSortImports = {
|
|
|
12476
12647
|
flags?: string
|
|
12477
12648
|
} | string))
|
|
12478
12649
|
})[])
|
|
12650
|
+
tsconfig?: {
|
|
12651
|
+
|
|
12652
|
+
rootDir: string
|
|
12653
|
+
|
|
12654
|
+
filename?: string
|
|
12655
|
+
}
|
|
12479
12656
|
|
|
12480
12657
|
maxLineLength?: number
|
|
12481
12658
|
|
|
@@ -12523,8 +12700,7 @@ type PerfectionistSortImports = {
|
|
|
12523
12700
|
})
|
|
12524
12701
|
|
|
12525
12702
|
partitionByNewLine?: boolean
|
|
12526
|
-
|
|
12527
|
-
newlinesBetween?: ("ignore" | "always" | "never")
|
|
12703
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
12528
12704
|
|
|
12529
12705
|
internalPattern?: (({
|
|
12530
12706
|
|
|
@@ -12539,8 +12715,9 @@ type PerfectionistSortImports = {
|
|
|
12539
12715
|
} | string))
|
|
12540
12716
|
|
|
12541
12717
|
groups?: (string | string[] | {
|
|
12718
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
12542
12719
|
|
|
12543
|
-
|
|
12720
|
+
commentAbove?: string
|
|
12544
12721
|
})[]
|
|
12545
12722
|
}[]
|
|
12546
12723
|
// ----- perfectionist/sort-interfaces -----
|
|
@@ -12568,8 +12745,7 @@ type PerfectionistSortInterfaces = {
|
|
|
12568
12745
|
customGroups?: ({
|
|
12569
12746
|
[k: string]: (string | string[]) | undefined
|
|
12570
12747
|
} | ({
|
|
12571
|
-
|
|
12572
|
-
newlinesInside?: ("always" | "never")
|
|
12748
|
+
newlinesInside?: (("always" | "never") | number)
|
|
12573
12749
|
|
|
12574
12750
|
fallbackSort?: {
|
|
12575
12751
|
|
|
@@ -12616,8 +12792,7 @@ type PerfectionistSortInterfaces = {
|
|
|
12616
12792
|
sortBy?: ("name" | "value")
|
|
12617
12793
|
}[]
|
|
12618
12794
|
} | {
|
|
12619
|
-
|
|
12620
|
-
newlinesInside?: ("always" | "never")
|
|
12795
|
+
newlinesInside?: (("always" | "never") | number)
|
|
12621
12796
|
|
|
12622
12797
|
fallbackSort?: {
|
|
12623
12798
|
|
|
@@ -12730,8 +12905,7 @@ type PerfectionistSortInterfaces = {
|
|
|
12730
12905
|
})
|
|
12731
12906
|
|
|
12732
12907
|
partitionByNewLine?: boolean
|
|
12733
|
-
|
|
12734
|
-
newlinesBetween?: ("ignore" | "always" | "never")
|
|
12908
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
12735
12909
|
|
|
12736
12910
|
ignorePattern?: (({
|
|
12737
12911
|
|
|
@@ -12747,8 +12921,9 @@ type PerfectionistSortInterfaces = {
|
|
|
12747
12921
|
sortBy?: ("name" | "value")
|
|
12748
12922
|
|
|
12749
12923
|
groups?: (string | string[] | {
|
|
12924
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
12750
12925
|
|
|
12751
|
-
|
|
12926
|
+
commentAbove?: string
|
|
12752
12927
|
})[]
|
|
12753
12928
|
}[]
|
|
12754
12929
|
// ----- perfectionist/sort-intersection-types -----
|
|
@@ -12774,8 +12949,7 @@ type PerfectionistSortIntersectionTypes = {
|
|
|
12774
12949
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12775
12950
|
|
|
12776
12951
|
customGroups?: ({
|
|
12777
|
-
|
|
12778
|
-
newlinesInside?: ("always" | "never")
|
|
12952
|
+
newlinesInside?: (("always" | "never") | number)
|
|
12779
12953
|
|
|
12780
12954
|
fallbackSort?: {
|
|
12781
12955
|
|
|
@@ -12806,8 +12980,7 @@ type PerfectionistSortIntersectionTypes = {
|
|
|
12806
12980
|
} | string))
|
|
12807
12981
|
}[]
|
|
12808
12982
|
} | {
|
|
12809
|
-
|
|
12810
|
-
newlinesInside?: ("always" | "never")
|
|
12983
|
+
newlinesInside?: (("always" | "never") | number)
|
|
12811
12984
|
|
|
12812
12985
|
fallbackSort?: {
|
|
12813
12986
|
|
|
@@ -12875,12 +13048,12 @@ type PerfectionistSortIntersectionTypes = {
|
|
|
12875
13048
|
})
|
|
12876
13049
|
|
|
12877
13050
|
partitionByNewLine?: boolean
|
|
12878
|
-
|
|
12879
|
-
newlinesBetween?: ("ignore" | "always" | "never")
|
|
13051
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
12880
13052
|
|
|
12881
13053
|
groups?: (string | string[] | {
|
|
13054
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
12882
13055
|
|
|
12883
|
-
|
|
13056
|
+
commentAbove?: string
|
|
12884
13057
|
})[]
|
|
12885
13058
|
}[]
|
|
12886
13059
|
// ----- perfectionist/sort-jsx-props -----
|
|
@@ -12907,8 +13080,7 @@ type PerfectionistSortJsxProps = {
|
|
|
12907
13080
|
customGroups?: ({
|
|
12908
13081
|
[k: string]: (string | string[]) | undefined
|
|
12909
13082
|
} | ({
|
|
12910
|
-
|
|
12911
|
-
newlinesInside?: ("always" | "never")
|
|
13083
|
+
newlinesInside?: (("always" | "never") | number)
|
|
12912
13084
|
|
|
12913
13085
|
fallbackSort?: {
|
|
12914
13086
|
|
|
@@ -12953,8 +13125,7 @@ type PerfectionistSortJsxProps = {
|
|
|
12953
13125
|
} | string))
|
|
12954
13126
|
}[]
|
|
12955
13127
|
} | {
|
|
12956
|
-
|
|
12957
|
-
newlinesInside?: ("always" | "never")
|
|
13128
|
+
newlinesInside?: (("always" | "never") | number)
|
|
12958
13129
|
|
|
12959
13130
|
fallbackSort?: {
|
|
12960
13131
|
|
|
@@ -13026,8 +13197,7 @@ type PerfectionistSortJsxProps = {
|
|
|
13026
13197
|
}
|
|
13027
13198
|
|
|
13028
13199
|
partitionByNewLine?: boolean
|
|
13029
|
-
|
|
13030
|
-
newlinesBetween?: ("ignore" | "always" | "never")
|
|
13200
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
13031
13201
|
|
|
13032
13202
|
ignorePattern?: (({
|
|
13033
13203
|
|
|
@@ -13042,8 +13212,9 @@ type PerfectionistSortJsxProps = {
|
|
|
13042
13212
|
} | string))
|
|
13043
13213
|
|
|
13044
13214
|
groups?: (string | string[] | {
|
|
13215
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
13045
13216
|
|
|
13046
|
-
|
|
13217
|
+
commentAbove?: string
|
|
13047
13218
|
})[]
|
|
13048
13219
|
}[]
|
|
13049
13220
|
// ----- perfectionist/sort-maps -----
|
|
@@ -13069,8 +13240,7 @@ type PerfectionistSortMaps = {
|
|
|
13069
13240
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
13070
13241
|
|
|
13071
13242
|
customGroups?: ({
|
|
13072
|
-
|
|
13073
|
-
newlinesInside?: ("always" | "never")
|
|
13243
|
+
newlinesInside?: (("always" | "never") | number)
|
|
13074
13244
|
|
|
13075
13245
|
fallbackSort?: {
|
|
13076
13246
|
|
|
@@ -13099,8 +13269,7 @@ type PerfectionistSortMaps = {
|
|
|
13099
13269
|
} | string))
|
|
13100
13270
|
}[]
|
|
13101
13271
|
} | {
|
|
13102
|
-
|
|
13103
|
-
newlinesInside?: ("always" | "never")
|
|
13272
|
+
newlinesInside?: (("always" | "never") | number)
|
|
13104
13273
|
|
|
13105
13274
|
fallbackSort?: {
|
|
13106
13275
|
|
|
@@ -13181,12 +13350,12 @@ type PerfectionistSortMaps = {
|
|
|
13181
13350
|
})
|
|
13182
13351
|
|
|
13183
13352
|
partitionByNewLine?: boolean
|
|
13184
|
-
|
|
13185
|
-
newlinesBetween?: ("ignore" | "always" | "never")
|
|
13353
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
13186
13354
|
|
|
13187
13355
|
groups?: (string | string[] | {
|
|
13356
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
13188
13357
|
|
|
13189
|
-
|
|
13358
|
+
commentAbove?: string
|
|
13190
13359
|
})[]
|
|
13191
13360
|
}[]
|
|
13192
13361
|
// ----- perfectionist/sort-modules -----
|
|
@@ -13212,8 +13381,7 @@ type PerfectionistSortModules = []|[{
|
|
|
13212
13381
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
13213
13382
|
|
|
13214
13383
|
customGroups?: ({
|
|
13215
|
-
|
|
13216
|
-
newlinesInside?: ("always" | "never")
|
|
13384
|
+
newlinesInside?: (("always" | "never") | number)
|
|
13217
13385
|
|
|
13218
13386
|
fallbackSort?: {
|
|
13219
13387
|
|
|
@@ -13258,8 +13426,7 @@ type PerfectionistSortModules = []|[{
|
|
|
13258
13426
|
} | string))
|
|
13259
13427
|
}[]
|
|
13260
13428
|
} | {
|
|
13261
|
-
|
|
13262
|
-
newlinesInside?: ("always" | "never")
|
|
13429
|
+
newlinesInside?: (("always" | "never") | number)
|
|
13263
13430
|
|
|
13264
13431
|
fallbackSort?: {
|
|
13265
13432
|
|
|
@@ -13341,12 +13508,12 @@ type PerfectionistSortModules = []|[{
|
|
|
13341
13508
|
})
|
|
13342
13509
|
|
|
13343
13510
|
partitionByNewLine?: boolean
|
|
13344
|
-
|
|
13345
|
-
newlinesBetween?: ("ignore" | "always" | "never")
|
|
13511
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
13346
13512
|
|
|
13347
13513
|
groups?: (string | string[] | {
|
|
13514
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
13348
13515
|
|
|
13349
|
-
|
|
13516
|
+
commentAbove?: string
|
|
13350
13517
|
})[]
|
|
13351
13518
|
}]
|
|
13352
13519
|
// ----- perfectionist/sort-named-exports -----
|
|
@@ -13376,8 +13543,7 @@ type PerfectionistSortNamedExports = {
|
|
|
13376
13543
|
ignoreAlias?: boolean
|
|
13377
13544
|
|
|
13378
13545
|
customGroups?: ({
|
|
13379
|
-
|
|
13380
|
-
newlinesInside?: ("always" | "never")
|
|
13546
|
+
newlinesInside?: (("always" | "never") | number)
|
|
13381
13547
|
|
|
13382
13548
|
fallbackSort?: {
|
|
13383
13549
|
|
|
@@ -13410,8 +13576,7 @@ type PerfectionistSortNamedExports = {
|
|
|
13410
13576
|
} | string))
|
|
13411
13577
|
}[]
|
|
13412
13578
|
} | {
|
|
13413
|
-
|
|
13414
|
-
newlinesInside?: ("always" | "never")
|
|
13579
|
+
newlinesInside?: (("always" | "never") | number)
|
|
13415
13580
|
|
|
13416
13581
|
fallbackSort?: {
|
|
13417
13582
|
|
|
@@ -13481,12 +13646,12 @@ type PerfectionistSortNamedExports = {
|
|
|
13481
13646
|
})
|
|
13482
13647
|
|
|
13483
13648
|
partitionByNewLine?: boolean
|
|
13484
|
-
|
|
13485
|
-
newlinesBetween?: ("ignore" | "always" | "never")
|
|
13649
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
13486
13650
|
|
|
13487
13651
|
groups?: (string | string[] | {
|
|
13652
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
13488
13653
|
|
|
13489
|
-
|
|
13654
|
+
commentAbove?: string
|
|
13490
13655
|
})[]
|
|
13491
13656
|
}[]
|
|
13492
13657
|
// ----- perfectionist/sort-named-imports -----
|
|
@@ -13516,8 +13681,7 @@ type PerfectionistSortNamedImports = {
|
|
|
13516
13681
|
ignoreAlias?: boolean
|
|
13517
13682
|
|
|
13518
13683
|
customGroups?: ({
|
|
13519
|
-
|
|
13520
|
-
newlinesInside?: ("always" | "never")
|
|
13684
|
+
newlinesInside?: (("always" | "never") | number)
|
|
13521
13685
|
|
|
13522
13686
|
fallbackSort?: {
|
|
13523
13687
|
|
|
@@ -13550,8 +13714,7 @@ type PerfectionistSortNamedImports = {
|
|
|
13550
13714
|
} | string))
|
|
13551
13715
|
}[]
|
|
13552
13716
|
} | {
|
|
13553
|
-
|
|
13554
|
-
newlinesInside?: ("always" | "never")
|
|
13717
|
+
newlinesInside?: (("always" | "never") | number)
|
|
13555
13718
|
|
|
13556
13719
|
fallbackSort?: {
|
|
13557
13720
|
|
|
@@ -13621,12 +13784,12 @@ type PerfectionistSortNamedImports = {
|
|
|
13621
13784
|
})
|
|
13622
13785
|
|
|
13623
13786
|
partitionByNewLine?: boolean
|
|
13624
|
-
|
|
13625
|
-
newlinesBetween?: ("ignore" | "always" | "never")
|
|
13787
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
13626
13788
|
|
|
13627
13789
|
groups?: (string | string[] | {
|
|
13790
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
13628
13791
|
|
|
13629
|
-
|
|
13792
|
+
commentAbove?: string
|
|
13630
13793
|
})[]
|
|
13631
13794
|
}[]
|
|
13632
13795
|
// ----- perfectionist/sort-object-types -----
|
|
@@ -13654,8 +13817,7 @@ type PerfectionistSortObjectTypes = {
|
|
|
13654
13817
|
customGroups?: ({
|
|
13655
13818
|
[k: string]: (string | string[]) | undefined
|
|
13656
13819
|
} | ({
|
|
13657
|
-
|
|
13658
|
-
newlinesInside?: ("always" | "never")
|
|
13820
|
+
newlinesInside?: (("always" | "never") | number)
|
|
13659
13821
|
|
|
13660
13822
|
fallbackSort?: {
|
|
13661
13823
|
|
|
@@ -13702,8 +13864,7 @@ type PerfectionistSortObjectTypes = {
|
|
|
13702
13864
|
sortBy?: ("name" | "value")
|
|
13703
13865
|
}[]
|
|
13704
13866
|
} | {
|
|
13705
|
-
|
|
13706
|
-
newlinesInside?: ("always" | "never")
|
|
13867
|
+
newlinesInside?: (("always" | "never") | number)
|
|
13707
13868
|
|
|
13708
13869
|
fallbackSort?: {
|
|
13709
13870
|
|
|
@@ -13816,8 +13977,7 @@ type PerfectionistSortObjectTypes = {
|
|
|
13816
13977
|
})
|
|
13817
13978
|
|
|
13818
13979
|
partitionByNewLine?: boolean
|
|
13819
|
-
|
|
13820
|
-
newlinesBetween?: ("ignore" | "always" | "never")
|
|
13980
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
13821
13981
|
|
|
13822
13982
|
ignorePattern?: (({
|
|
13823
13983
|
|
|
@@ -13833,8 +13993,9 @@ type PerfectionistSortObjectTypes = {
|
|
|
13833
13993
|
sortBy?: ("name" | "value")
|
|
13834
13994
|
|
|
13835
13995
|
groups?: (string | string[] | {
|
|
13996
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
13836
13997
|
|
|
13837
|
-
|
|
13998
|
+
commentAbove?: string
|
|
13838
13999
|
})[]
|
|
13839
14000
|
}[]
|
|
13840
14001
|
// ----- perfectionist/sort-objects -----
|
|
@@ -13866,8 +14027,7 @@ type PerfectionistSortObjects = {
|
|
|
13866
14027
|
customGroups?: ({
|
|
13867
14028
|
[k: string]: (string | string[]) | undefined
|
|
13868
14029
|
} | ({
|
|
13869
|
-
|
|
13870
|
-
newlinesInside?: ("always" | "never")
|
|
14030
|
+
newlinesInside?: (("always" | "never") | number)
|
|
13871
14031
|
|
|
13872
14032
|
fallbackSort?: {
|
|
13873
14033
|
|
|
@@ -13912,8 +14072,7 @@ type PerfectionistSortObjects = {
|
|
|
13912
14072
|
} | string))
|
|
13913
14073
|
}[]
|
|
13914
14074
|
} | {
|
|
13915
|
-
|
|
13916
|
-
newlinesInside?: ("always" | "never")
|
|
14075
|
+
newlinesInside?: (("always" | "never") | number)
|
|
13917
14076
|
|
|
13918
14077
|
fallbackSort?: {
|
|
13919
14078
|
|
|
@@ -14028,8 +14187,7 @@ type PerfectionistSortObjects = {
|
|
|
14028
14187
|
})
|
|
14029
14188
|
|
|
14030
14189
|
partitionByNewLine?: boolean
|
|
14031
|
-
|
|
14032
|
-
newlinesBetween?: ("ignore" | "always" | "never")
|
|
14190
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
14033
14191
|
|
|
14034
14192
|
ignorePattern?: (({
|
|
14035
14193
|
|
|
@@ -14044,8 +14202,9 @@ type PerfectionistSortObjects = {
|
|
|
14044
14202
|
} | string))
|
|
14045
14203
|
|
|
14046
14204
|
groups?: (string | string[] | {
|
|
14205
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
14047
14206
|
|
|
14048
|
-
|
|
14207
|
+
commentAbove?: string
|
|
14049
14208
|
})[]
|
|
14050
14209
|
}[]
|
|
14051
14210
|
// ----- perfectionist/sort-sets -----
|
|
@@ -14073,8 +14232,7 @@ type PerfectionistSortSets = {
|
|
|
14073
14232
|
groupKind?: ("mixed" | "literals-first" | "spreads-first")
|
|
14074
14233
|
|
|
14075
14234
|
customGroups?: ({
|
|
14076
|
-
|
|
14077
|
-
newlinesInside?: ("always" | "never")
|
|
14235
|
+
newlinesInside?: (("always" | "never") | number)
|
|
14078
14236
|
|
|
14079
14237
|
fallbackSort?: {
|
|
14080
14238
|
|
|
@@ -14105,8 +14263,7 @@ type PerfectionistSortSets = {
|
|
|
14105
14263
|
} | string))
|
|
14106
14264
|
}[]
|
|
14107
14265
|
} | {
|
|
14108
|
-
|
|
14109
|
-
newlinesInside?: ("always" | "never")
|
|
14266
|
+
newlinesInside?: (("always" | "never") | number)
|
|
14110
14267
|
|
|
14111
14268
|
fallbackSort?: {
|
|
14112
14269
|
|
|
@@ -14189,12 +14346,12 @@ type PerfectionistSortSets = {
|
|
|
14189
14346
|
})
|
|
14190
14347
|
|
|
14191
14348
|
partitionByNewLine?: boolean
|
|
14192
|
-
|
|
14193
|
-
newlinesBetween?: ("ignore" | "always" | "never")
|
|
14349
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
14194
14350
|
|
|
14195
14351
|
groups?: (string | string[] | {
|
|
14352
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
14196
14353
|
|
|
14197
|
-
|
|
14354
|
+
commentAbove?: string
|
|
14198
14355
|
})[]
|
|
14199
14356
|
}[]
|
|
14200
14357
|
// ----- perfectionist/sort-switch-case -----
|
|
@@ -14242,8 +14399,7 @@ type PerfectionistSortUnionTypes = {
|
|
|
14242
14399
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
14243
14400
|
|
|
14244
14401
|
customGroups?: ({
|
|
14245
|
-
|
|
14246
|
-
newlinesInside?: ("always" | "never")
|
|
14402
|
+
newlinesInside?: (("always" | "never") | number)
|
|
14247
14403
|
|
|
14248
14404
|
fallbackSort?: {
|
|
14249
14405
|
|
|
@@ -14274,8 +14430,7 @@ type PerfectionistSortUnionTypes = {
|
|
|
14274
14430
|
} | string))
|
|
14275
14431
|
}[]
|
|
14276
14432
|
} | {
|
|
14277
|
-
|
|
14278
|
-
newlinesInside?: ("always" | "never")
|
|
14433
|
+
newlinesInside?: (("always" | "never") | number)
|
|
14279
14434
|
|
|
14280
14435
|
fallbackSort?: {
|
|
14281
14436
|
|
|
@@ -14343,12 +14498,12 @@ type PerfectionistSortUnionTypes = {
|
|
|
14343
14498
|
})
|
|
14344
14499
|
|
|
14345
14500
|
partitionByNewLine?: boolean
|
|
14346
|
-
|
|
14347
|
-
newlinesBetween?: ("ignore" | "always" | "never")
|
|
14501
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
14348
14502
|
|
|
14349
14503
|
groups?: (string | string[] | {
|
|
14504
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
14350
14505
|
|
|
14351
|
-
|
|
14506
|
+
commentAbove?: string
|
|
14352
14507
|
})[]
|
|
14353
14508
|
}[]
|
|
14354
14509
|
// ----- perfectionist/sort-variable-declarations -----
|
|
@@ -14374,8 +14529,7 @@ type PerfectionistSortVariableDeclarations = []|[{
|
|
|
14374
14529
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
14375
14530
|
|
|
14376
14531
|
customGroups?: ({
|
|
14377
|
-
|
|
14378
|
-
newlinesInside?: ("always" | "never")
|
|
14532
|
+
newlinesInside?: (("always" | "never") | number)
|
|
14379
14533
|
|
|
14380
14534
|
fallbackSort?: {
|
|
14381
14535
|
|
|
@@ -14406,8 +14560,7 @@ type PerfectionistSortVariableDeclarations = []|[{
|
|
|
14406
14560
|
} | string))
|
|
14407
14561
|
}[]
|
|
14408
14562
|
} | {
|
|
14409
|
-
|
|
14410
|
-
newlinesInside?: ("always" | "never")
|
|
14563
|
+
newlinesInside?: (("always" | "never") | number)
|
|
14411
14564
|
|
|
14412
14565
|
fallbackSort?: {
|
|
14413
14566
|
|
|
@@ -14475,12 +14628,12 @@ type PerfectionistSortVariableDeclarations = []|[{
|
|
|
14475
14628
|
})
|
|
14476
14629
|
|
|
14477
14630
|
partitionByNewLine?: boolean
|
|
14478
|
-
|
|
14479
|
-
newlinesBetween?: ("ignore" | "always" | "never")
|
|
14631
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
14480
14632
|
|
|
14481
14633
|
groups?: (string | string[] | {
|
|
14634
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
14482
14635
|
|
|
14483
|
-
|
|
14636
|
+
commentAbove?: string
|
|
14484
14637
|
})[]
|
|
14485
14638
|
}]
|
|
14486
14639
|
// ----- playwright/expect-expect -----
|
|
@@ -15173,6 +15326,10 @@ type RegexpPreferLookaround = []|[{
|
|
|
15173
15326
|
type RegexpPreferNamedReplacement = []|[{
|
|
15174
15327
|
strictTypes?: boolean
|
|
15175
15328
|
}]
|
|
15329
|
+
// ----- regexp/prefer-quantifier -----
|
|
15330
|
+
type RegexpPreferQuantifier = []|[{
|
|
15331
|
+
allows?: string[]
|
|
15332
|
+
}]
|
|
15176
15333
|
// ----- regexp/prefer-range -----
|
|
15177
15334
|
type RegexpPreferRange = []|[{
|
|
15178
15335
|
target?: (("all" | "alphanumeric") | [("all" | "alphanumeric")] | [("alphanumeric" | string), ...(("alphanumeric" | string))[]])
|
|
@@ -15201,35 +15358,11 @@ type RegexpUnicodeProperty = []|[{
|
|
|
15201
15358
|
type SimpleImportSortImports = []|[{
|
|
15202
15359
|
groups?: string[][]
|
|
15203
15360
|
}]
|
|
15204
|
-
// ----- sonarjs/arguments-order -----
|
|
15205
|
-
type SonarjsArgumentsOrder = []|[("sonar-runtime" | "metric")]
|
|
15206
|
-
// ----- sonarjs/arguments-usage -----
|
|
15207
|
-
type SonarjsArgumentsUsage = []|[("sonar-runtime" | "metric")]
|
|
15208
15361
|
// ----- sonarjs/arrow-function-convention -----
|
|
15209
15362
|
type SonarjsArrowFunctionConvention = []|[{
|
|
15210
15363
|
requireParameterParentheses?: boolean
|
|
15211
15364
|
requireBodyBraces?: boolean
|
|
15212
15365
|
}]
|
|
15213
|
-
// ----- sonarjs/aws-iam-all-privileges -----
|
|
15214
|
-
type SonarjsAwsIamAllPrivileges = []|[("sonar-runtime" | "metric")]
|
|
15215
|
-
// ----- sonarjs/aws-iam-all-resources-accessible -----
|
|
15216
|
-
type SonarjsAwsIamAllResourcesAccessible = []|[("sonar-runtime" | "metric")]
|
|
15217
|
-
// ----- sonarjs/aws-iam-privilege-escalation -----
|
|
15218
|
-
type SonarjsAwsIamPrivilegeEscalation = []|[("sonar-runtime" | "metric")]
|
|
15219
|
-
// ----- sonarjs/aws-iam-public-access -----
|
|
15220
|
-
type SonarjsAwsIamPublicAccess = []|[("sonar-runtime" | "metric")]
|
|
15221
|
-
// ----- sonarjs/aws-s3-bucket-granted-access -----
|
|
15222
|
-
type SonarjsAwsS3BucketGrantedAccess = []|[("sonar-runtime" | "metric")]
|
|
15223
|
-
// ----- sonarjs/aws-s3-bucket-public-access -----
|
|
15224
|
-
type SonarjsAwsS3BucketPublicAccess = []|[("sonar-runtime" | "metric")]
|
|
15225
|
-
// ----- sonarjs/aws-s3-bucket-server-encryption -----
|
|
15226
|
-
type SonarjsAwsS3BucketServerEncryption = []|[("sonar-runtime" | "metric")]
|
|
15227
|
-
// ----- sonarjs/aws-s3-bucket-versioning -----
|
|
15228
|
-
type SonarjsAwsS3BucketVersioning = []|[("sonar-runtime" | "metric")]
|
|
15229
|
-
// ----- sonarjs/block-scoped-var -----
|
|
15230
|
-
type SonarjsBlockScopedVar = []|[("sonar-runtime" | "metric")]
|
|
15231
|
-
// ----- sonarjs/certificate-transparency -----
|
|
15232
|
-
type SonarjsCertificateTransparency = []|[("sonar-runtime" | "metric")]
|
|
15233
15366
|
// ----- sonarjs/class-name -----
|
|
15234
15367
|
type SonarjsClassName = []|[{
|
|
15235
15368
|
format?: string
|
|
@@ -15242,39 +15375,15 @@ type SonarjsCommentRegex = []|[{
|
|
|
15242
15375
|
message?: string
|
|
15243
15376
|
flags?: string
|
|
15244
15377
|
}]
|
|
15245
|
-
// ----- sonarjs/conditional-indentation -----
|
|
15246
|
-
type SonarjsConditionalIndentation = []|[("sonar-runtime" | "metric")]
|
|
15247
|
-
// ----- sonarjs/confidential-information-logging -----
|
|
15248
|
-
type SonarjsConfidentialInformationLogging = []|[("sonar-runtime" | "metric")]
|
|
15249
15378
|
// ----- sonarjs/content-length -----
|
|
15250
15379
|
type SonarjsContentLength = []|[{
|
|
15251
15380
|
fileUploadSizeLimit?: number
|
|
15252
15381
|
standardSizeLimit?: number
|
|
15253
15382
|
}]
|
|
15254
|
-
// ----- sonarjs/content-security-policy -----
|
|
15255
|
-
type SonarjsContentSecurityPolicy = []|[("sonar-runtime" | "metric")]
|
|
15256
|
-
// ----- sonarjs/cookie-no-httponly -----
|
|
15257
|
-
type SonarjsCookieNoHttponly = []|[("sonar-runtime" | "metric")]
|
|
15258
|
-
// ----- sonarjs/cors -----
|
|
15259
|
-
type SonarjsCors = []|[("sonar-runtime" | "metric")]
|
|
15260
|
-
// ----- sonarjs/csrf -----
|
|
15261
|
-
type SonarjsCsrf = []|[("sonar-runtime" | "metric")]
|
|
15262
15383
|
// ----- sonarjs/cyclomatic-complexity -----
|
|
15263
15384
|
type SonarjsCyclomaticComplexity = []|[{
|
|
15264
15385
|
threshold?: number
|
|
15265
|
-
}]
|
|
15266
|
-
threshold?: number
|
|
15267
|
-
}, ("sonar-runtime" | "metric")]
|
|
15268
|
-
// ----- sonarjs/destructuring-assignment-syntax -----
|
|
15269
|
-
type SonarjsDestructuringAssignmentSyntax = []|[("sonar-runtime" | "metric")]
|
|
15270
|
-
// ----- sonarjs/different-types-comparison -----
|
|
15271
|
-
type SonarjsDifferentTypesComparison = []|[("sonar-runtime" | "metric")]
|
|
15272
|
-
// ----- sonarjs/disabled-auto-escaping -----
|
|
15273
|
-
type SonarjsDisabledAutoEscaping = []|[("sonar-runtime" | "metric")]
|
|
15274
|
-
// ----- sonarjs/dns-prefetching -----
|
|
15275
|
-
type SonarjsDnsPrefetching = []|[("sonar-runtime" | "metric")]
|
|
15276
|
-
// ----- sonarjs/duplicates-in-character-class -----
|
|
15277
|
-
type SonarjsDuplicatesInCharacterClass = []|[("sonar-runtime" | "metric")]
|
|
15386
|
+
}]
|
|
15278
15387
|
// ----- sonarjs/enforce-trailing-comma -----
|
|
15279
15388
|
type SonarjsEnforceTrailingComma = []|[(_SonarjsEnforceTrailingCommaValue | {
|
|
15280
15389
|
arrays?: _SonarjsEnforceTrailingCommaValueWithIgnore
|
|
@@ -15288,38 +15397,16 @@ type _SonarjsEnforceTrailingCommaValueWithIgnore = ("always-multiline" | "always
|
|
|
15288
15397
|
// ----- sonarjs/expression-complexity -----
|
|
15289
15398
|
type SonarjsExpressionComplexity = []|[{
|
|
15290
15399
|
max?: number
|
|
15291
|
-
}]
|
|
15292
|
-
max?: number
|
|
15293
|
-
}, ("sonar-runtime" | "metric")]
|
|
15400
|
+
}]
|
|
15294
15401
|
// ----- sonarjs/file-header -----
|
|
15295
15402
|
type SonarjsFileHeader = []|[{
|
|
15296
15403
|
headerFormat?: string
|
|
15297
15404
|
isRegularExpression?: boolean
|
|
15298
15405
|
}]
|
|
15299
|
-
// ----- sonarjs/file-uploads -----
|
|
15300
|
-
type SonarjsFileUploads = []|[("sonar-runtime" | "metric")]
|
|
15301
|
-
// ----- sonarjs/for-loop-increment-sign -----
|
|
15302
|
-
type SonarjsForLoopIncrementSign = []|[("sonar-runtime" | "metric")]
|
|
15303
|
-
// ----- sonarjs/frame-ancestors -----
|
|
15304
|
-
type SonarjsFrameAncestors = []|[("sonar-runtime" | "metric")]
|
|
15305
|
-
// ----- sonarjs/function-inside-loop -----
|
|
15306
|
-
type SonarjsFunctionInsideLoop = []|[("sonar-runtime" | "metric")]
|
|
15307
15406
|
// ----- sonarjs/function-name -----
|
|
15308
15407
|
type SonarjsFunctionName = []|[{
|
|
15309
15408
|
format?: string
|
|
15310
15409
|
}]
|
|
15311
|
-
// ----- sonarjs/function-return-type -----
|
|
15312
|
-
type SonarjsFunctionReturnType = []|[("sonar-runtime" | "metric")]
|
|
15313
|
-
// ----- sonarjs/in-operator-type-error -----
|
|
15314
|
-
type SonarjsInOperatorTypeError = []|[("sonar-runtime" | "metric")]
|
|
15315
|
-
// ----- sonarjs/inconsistent-function-call -----
|
|
15316
|
-
type SonarjsInconsistentFunctionCall = []|[("sonar-runtime" | "metric")]
|
|
15317
|
-
// ----- sonarjs/insecure-cookie -----
|
|
15318
|
-
type SonarjsInsecureCookie = []|[("sonar-runtime" | "metric")]
|
|
15319
|
-
// ----- sonarjs/insecure-jwt-token -----
|
|
15320
|
-
type SonarjsInsecureJwtToken = []|[("sonar-runtime" | "metric")]
|
|
15321
|
-
// ----- sonarjs/inverted-assertion-arguments -----
|
|
15322
|
-
type SonarjsInvertedAssertionArguments = []|[("sonar-runtime" | "metric")]
|
|
15323
15410
|
// ----- sonarjs/max-lines -----
|
|
15324
15411
|
type SonarjsMaxLines = []|[{
|
|
15325
15412
|
maximum?: number
|
|
@@ -15337,37 +15424,16 @@ type SonarjsMaxUnionSize = []|[{
|
|
|
15337
15424
|
// ----- sonarjs/nested-control-flow -----
|
|
15338
15425
|
type SonarjsNestedControlFlow = []|[{
|
|
15339
15426
|
maximumNestingLevel?: number
|
|
15340
|
-
}]
|
|
15341
|
-
maximumNestingLevel?: number
|
|
15342
|
-
}, ("sonar-runtime" | "metric")]
|
|
15427
|
+
}]
|
|
15343
15428
|
// ----- sonarjs/new-operator-misuse -----
|
|
15344
15429
|
type SonarjsNewOperatorMisuse = []|[{
|
|
15345
15430
|
considerJSDoc?: boolean
|
|
15346
|
-
}]
|
|
15347
|
-
considerJSDoc?: boolean
|
|
15348
|
-
}, unknown]
|
|
15349
|
-
// ----- sonarjs/no-code-after-done -----
|
|
15350
|
-
type SonarjsNoCodeAfterDone = []|[("sonar-runtime" | "metric")]
|
|
15351
|
-
// ----- sonarjs/no-collapsible-if -----
|
|
15352
|
-
type SonarjsNoCollapsibleIf = []|[("sonar-runtime" | "metric")]
|
|
15353
|
-
// ----- sonarjs/no-duplicate-in-composite -----
|
|
15354
|
-
type SonarjsNoDuplicateInComposite = []|[("sonar-runtime" | "metric")]
|
|
15431
|
+
}]
|
|
15355
15432
|
// ----- sonarjs/no-duplicate-string -----
|
|
15356
15433
|
type SonarjsNoDuplicateString = []|[{
|
|
15357
15434
|
threshold?: number
|
|
15358
15435
|
ignoreStrings?: string
|
|
15359
|
-
}]
|
|
15360
|
-
threshold?: number
|
|
15361
|
-
ignoreStrings?: string
|
|
15362
|
-
}, ("sonar-runtime" | "metric")]
|
|
15363
|
-
// ----- sonarjs/no-duplicated-branches -----
|
|
15364
|
-
type SonarjsNoDuplicatedBranches = []|[("sonar-runtime" | "metric")]
|
|
15365
|
-
// ----- sonarjs/no-element-overwrite -----
|
|
15366
|
-
type SonarjsNoElementOverwrite = []|[("sonar-runtime" | "metric")]
|
|
15367
|
-
// ----- sonarjs/no-extra-arguments -----
|
|
15368
|
-
type SonarjsNoExtraArguments = []|[("sonar-runtime" | "metric")]
|
|
15369
|
-
// ----- sonarjs/no-gratuitous-expressions -----
|
|
15370
|
-
type SonarjsNoGratuitousExpressions = []|[("sonar-runtime" | "metric")]
|
|
15436
|
+
}]
|
|
15371
15437
|
// ----- sonarjs/no-hardcoded-passwords -----
|
|
15372
15438
|
type SonarjsNoHardcodedPasswords = []|[{
|
|
15373
15439
|
passwordWords?: string[]
|
|
@@ -15377,94 +15443,28 @@ type SonarjsNoHardcodedSecrets = []|[{
|
|
|
15377
15443
|
secretWords?: string
|
|
15378
15444
|
randomnessSensibility?: number
|
|
15379
15445
|
}]
|
|
15380
|
-
// ----- sonarjs/no-identical-conditions -----
|
|
15381
|
-
type SonarjsNoIdenticalConditions = []|[("sonar-runtime" | "metric")]
|
|
15382
|
-
// ----- sonarjs/no-identical-expressions -----
|
|
15383
|
-
type SonarjsNoIdenticalExpressions = []|[("sonar-runtime" | "metric")]
|
|
15384
15446
|
// ----- sonarjs/no-identical-functions -----
|
|
15385
|
-
type SonarjsNoIdenticalFunctions = []|[number]
|
|
15447
|
+
type SonarjsNoIdenticalFunctions = []|[number]
|
|
15386
15448
|
// ----- sonarjs/no-implicit-dependencies -----
|
|
15387
15449
|
type SonarjsNoImplicitDependencies = []|[{
|
|
15388
15450
|
whitelist?: string[]
|
|
15389
15451
|
}]
|
|
15390
|
-
// ----- sonarjs/no-inconsistent-returns -----
|
|
15391
|
-
type SonarjsNoInconsistentReturns = []|[("sonar-runtime" | "metric")]
|
|
15392
|
-
// ----- sonarjs/no-incorrect-string-concat -----
|
|
15393
|
-
type SonarjsNoIncorrectStringConcat = []|[("sonar-runtime" | "metric")]
|
|
15394
15452
|
// ----- sonarjs/no-intrusive-permissions -----
|
|
15395
15453
|
type SonarjsNoIntrusivePermissions = []|[{
|
|
15396
15454
|
permissions?: string[]
|
|
15397
15455
|
}]
|
|
15398
|
-
// ----- sonarjs/no-invariant-returns -----
|
|
15399
|
-
type SonarjsNoInvariantReturns = []|[("sonar-runtime" | "metric")]
|
|
15400
|
-
// ----- sonarjs/no-ip-forward -----
|
|
15401
|
-
type SonarjsNoIpForward = []|[("sonar-runtime" | "metric")]
|
|
15402
|
-
// ----- sonarjs/no-mime-sniff -----
|
|
15403
|
-
type SonarjsNoMimeSniff = []|[("sonar-runtime" | "metric")]
|
|
15404
|
-
// ----- sonarjs/no-mixed-content -----
|
|
15405
|
-
type SonarjsNoMixedContent = []|[("sonar-runtime" | "metric")]
|
|
15406
15456
|
// ----- sonarjs/no-nested-functions -----
|
|
15407
15457
|
type SonarjsNoNestedFunctions = []|[{
|
|
15408
15458
|
threshold?: number
|
|
15409
|
-
}]
|
|
15410
|
-
threshold?: number
|
|
15411
|
-
}, ("sonar-runtime" | "metric")]
|
|
15412
|
-
// ----- sonarjs/no-redundant-optional -----
|
|
15413
|
-
type SonarjsNoRedundantOptional = []|[("sonar-runtime" | "metric")]
|
|
15414
|
-
// ----- sonarjs/no-redundant-parentheses -----
|
|
15415
|
-
type SonarjsNoRedundantParentheses = []|[("sonar-runtime" | "metric")]
|
|
15416
|
-
// ----- sonarjs/no-reference-error -----
|
|
15417
|
-
type SonarjsNoReferenceError = []|[("sonar-runtime" | "metric")]
|
|
15418
|
-
// ----- sonarjs/no-referrer-policy -----
|
|
15419
|
-
type SonarjsNoReferrerPolicy = []|[("sonar-runtime" | "metric")]
|
|
15420
|
-
// ----- sonarjs/no-same-argument-assert -----
|
|
15421
|
-
type SonarjsNoSameArgumentAssert = []|[("sonar-runtime" | "metric")]
|
|
15422
|
-
// ----- sonarjs/no-same-line-conditional -----
|
|
15423
|
-
type SonarjsNoSameLineConditional = []|[("sonar-runtime" | "metric")]
|
|
15424
|
-
// ----- sonarjs/no-selector-parameter -----
|
|
15425
|
-
type SonarjsNoSelectorParameter = []|[("sonar-runtime" | "metric")]
|
|
15426
|
-
// ----- sonarjs/no-try-promise -----
|
|
15427
|
-
type SonarjsNoTryPromise = []|[("sonar-runtime" | "metric")]
|
|
15428
|
-
// ----- sonarjs/no-variable-usage-before-declaration -----
|
|
15429
|
-
type SonarjsNoVariableUsageBeforeDeclaration = []|[("sonar-runtime" | "metric")]
|
|
15430
|
-
// ----- sonarjs/non-number-in-arithmetic-expression -----
|
|
15431
|
-
type SonarjsNonNumberInArithmeticExpression = []|[("sonar-runtime" | "metric")]
|
|
15459
|
+
}]
|
|
15432
15460
|
// ----- sonarjs/regex-complexity -----
|
|
15433
15461
|
type SonarjsRegexComplexity = []|[{
|
|
15434
15462
|
threshold?: number
|
|
15435
|
-
}]
|
|
15436
|
-
threshold?: number
|
|
15437
|
-
}, ("sonar-runtime" | "metric")]
|
|
15438
|
-
// ----- sonarjs/shorthand-property-grouping -----
|
|
15439
|
-
type SonarjsShorthandPropertyGrouping = []|[("sonar-runtime" | "metric")]
|
|
15440
|
-
// ----- sonarjs/stateful-regex -----
|
|
15441
|
-
type SonarjsStatefulRegex = []|[("sonar-runtime" | "metric")]
|
|
15442
|
-
// ----- sonarjs/strict-transport-security -----
|
|
15443
|
-
type SonarjsStrictTransportSecurity = []|[("sonar-runtime" | "metric")]
|
|
15444
|
-
// ----- sonarjs/strings-comparison -----
|
|
15445
|
-
type SonarjsStringsComparison = []|[("sonar-runtime" | "metric")]
|
|
15446
|
-
// ----- sonarjs/too-many-break-or-continue-in-loop -----
|
|
15447
|
-
type SonarjsTooManyBreakOrContinueInLoop = []|[("sonar-runtime" | "metric")]
|
|
15448
|
-
// ----- sonarjs/unicode-aware-regex -----
|
|
15449
|
-
type SonarjsUnicodeAwareRegex = []|[("sonar-runtime" | "metric")]
|
|
15450
|
-
// ----- sonarjs/unused-named-groups -----
|
|
15451
|
-
type SonarjsUnusedNamedGroups = []|[("sonar-runtime" | "metric")]
|
|
15452
|
-
// ----- sonarjs/unverified-certificate -----
|
|
15453
|
-
type SonarjsUnverifiedCertificate = []|[("sonar-runtime" | "metric")]
|
|
15454
|
-
// ----- sonarjs/unverified-hostname -----
|
|
15455
|
-
type SonarjsUnverifiedHostname = []|[("sonar-runtime" | "metric")]
|
|
15456
|
-
// ----- sonarjs/updated-const-var -----
|
|
15457
|
-
type SonarjsUpdatedConstVar = []|[("sonar-runtime" | "metric")]
|
|
15458
|
-
// ----- sonarjs/updated-loop-counter -----
|
|
15459
|
-
type SonarjsUpdatedLoopCounter = []|[("sonar-runtime" | "metric")]
|
|
15460
|
-
// ----- sonarjs/use-type-alias -----
|
|
15461
|
-
type SonarjsUseTypeAlias = []|[("sonar-runtime" | "metric")]
|
|
15463
|
+
}]
|
|
15462
15464
|
// ----- sonarjs/variable-name -----
|
|
15463
15465
|
type SonarjsVariableName = []|[{
|
|
15464
15466
|
format?: string
|
|
15465
15467
|
}]
|
|
15466
|
-
// ----- sonarjs/xml-parser-xxe -----
|
|
15467
|
-
type SonarjsXmlParserXxe = []|[("sonar-runtime" | "metric")]
|
|
15468
15468
|
// ----- storybook/meta-inline-properties -----
|
|
15469
15469
|
type StorybookMetaInlineProperties = []|[{
|
|
15470
15470
|
csfVersion?: number
|
|
@@ -15975,6 +15975,10 @@ type VitestConsistentTestIt = []|[{
|
|
|
15975
15975
|
fn?: ("test" | "it")
|
|
15976
15976
|
withinDescribe?: ("test" | "it")
|
|
15977
15977
|
}]
|
|
15978
|
+
// ----- vitest/consistent-vitest-vi -----
|
|
15979
|
+
type VitestConsistentVitestVi = []|[{
|
|
15980
|
+
fn?: ("vi" | "vitest")
|
|
15981
|
+
}]
|
|
15978
15982
|
// ----- vitest/expect-expect -----
|
|
15979
15983
|
type VitestExpectExpect = []|[{
|
|
15980
15984
|
assertFunctionNames?: string[]
|