@iqrf/eslint-config 0.3.0 → 0.3.2
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/dist/index.d.ts +81 -376
- package/dist/index.js +807 -1232
- package/package.json +11 -11
package/dist/index.d.ts
CHANGED
|
@@ -1,346 +1,79 @@
|
|
|
1
|
-
import { Linter } from
|
|
1
|
+
import { Linter } from "eslint";
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
* Copyright 2024-2025 MICRORISC s.r.o.
|
|
5
|
-
*
|
|
6
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
-
* you may not use this file except in compliance with the License.
|
|
8
|
-
* You may obtain a copy of the License at
|
|
9
|
-
*
|
|
10
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
-
*
|
|
12
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
-
* See the License for the specific language governing permissions and
|
|
16
|
-
* limitations under the License.
|
|
17
|
-
*/
|
|
3
|
+
//#region src/configs/comments.d.ts
|
|
18
4
|
|
|
19
5
|
declare const comments: Linter.Config[];
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
* Copyright 2024-2025 MICRORISC s.r.o.
|
|
23
|
-
*
|
|
24
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
25
|
-
* you may not use this file except in compliance with the License.
|
|
26
|
-
* You may obtain a copy of the License at
|
|
27
|
-
*
|
|
28
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
29
|
-
*
|
|
30
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
31
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
32
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
33
|
-
* See the License for the specific language governing permissions and
|
|
34
|
-
* limitations under the License.
|
|
35
|
-
*/
|
|
6
|
+
//#endregion
|
|
7
|
+
//#region src/configs/cypress.d.ts
|
|
36
8
|
|
|
37
9
|
declare const cypress: Linter.Config[];
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
* Copyright 2024-2025 MICRORISC s.r.o.
|
|
41
|
-
*
|
|
42
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
43
|
-
* you may not use this file except in compliance with the License.
|
|
44
|
-
* You may obtain a copy of the License at
|
|
45
|
-
*
|
|
46
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
47
|
-
*
|
|
48
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
49
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
50
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
51
|
-
* See the License for the specific language governing permissions and
|
|
52
|
-
* limitations under the License.
|
|
53
|
-
*/
|
|
10
|
+
//#endregion
|
|
11
|
+
//#region src/configs/imports.d.ts
|
|
54
12
|
|
|
55
13
|
/**
|
|
56
14
|
* Options for imports configuration
|
|
57
15
|
*/
|
|
58
16
|
interface Options$2 {
|
|
59
|
-
|
|
60
|
-
|
|
17
|
+
typescript: boolean;
|
|
18
|
+
vue: boolean;
|
|
61
19
|
}
|
|
62
20
|
declare const imports: (options: Options$2) => Linter.Config[];
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
* Copyright 2024-2025 MICRORISC s.r.o.
|
|
66
|
-
*
|
|
67
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
68
|
-
* you may not use this file except in compliance with the License.
|
|
69
|
-
* You may obtain a copy of the License at
|
|
70
|
-
*
|
|
71
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
72
|
-
*
|
|
73
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
74
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
75
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
76
|
-
* See the License for the specific language governing permissions and
|
|
77
|
-
* limitations under the License.
|
|
78
|
-
*/
|
|
79
|
-
|
|
21
|
+
//#endregion
|
|
22
|
+
//#region src/configs/javascript.d.ts
|
|
80
23
|
/**
|
|
81
24
|
* JavaScript config options
|
|
82
25
|
*/
|
|
83
26
|
interface Options$1 {
|
|
84
|
-
|
|
27
|
+
typescript: boolean;
|
|
85
28
|
}
|
|
86
29
|
declare const javascript: (options: Options$1) => Linter.Config[];
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
* Copyright 2024-2025 MICRORISC s.r.o.
|
|
90
|
-
*
|
|
91
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
92
|
-
* you may not use this file except in compliance with the License.
|
|
93
|
-
* You may obtain a copy of the License at
|
|
94
|
-
*
|
|
95
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
96
|
-
*
|
|
97
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
98
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
99
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
100
|
-
* See the License for the specific language governing permissions and
|
|
101
|
-
* limitations under the License.
|
|
102
|
-
*/
|
|
103
|
-
|
|
30
|
+
//#endregion
|
|
31
|
+
//#region src/configs/jsdoc.d.ts
|
|
104
32
|
declare const jsDoc: Linter.Config[];
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
* Copyright 2024-2025 MICRORISC s.r.o.
|
|
108
|
-
*
|
|
109
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
110
|
-
* you may not use this file except in compliance with the License.
|
|
111
|
-
* You may obtain a copy of the License at
|
|
112
|
-
*
|
|
113
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
114
|
-
*
|
|
115
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
116
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
117
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
118
|
-
* See the License for the specific language governing permissions and
|
|
119
|
-
* limitations under the License.
|
|
120
|
-
*/
|
|
121
|
-
|
|
33
|
+
//#endregion
|
|
34
|
+
//#region src/configs/json.d.ts
|
|
122
35
|
declare const json: Linter.Config[];
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
* Copyright 2024-2025 MICRORISC s.r.o.
|
|
126
|
-
*
|
|
127
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
128
|
-
* you may not use this file except in compliance with the License.
|
|
129
|
-
* You may obtain a copy of the License at
|
|
130
|
-
*
|
|
131
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
132
|
-
*
|
|
133
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
134
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
135
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
136
|
-
* See the License for the specific language governing permissions and
|
|
137
|
-
* limitations under the License.
|
|
138
|
-
*/
|
|
139
|
-
|
|
36
|
+
//#endregion
|
|
37
|
+
//#region src/configs/markdown.d.ts
|
|
140
38
|
declare const markdown: Linter.Config[];
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
* Copyright 2024-2025 MICRORISC s.r.o.
|
|
144
|
-
*
|
|
145
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
146
|
-
* you may not use this file except in compliance with the License.
|
|
147
|
-
* You may obtain a copy of the License at
|
|
148
|
-
*
|
|
149
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
150
|
-
*
|
|
151
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
152
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
153
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
154
|
-
* See the License for the specific language governing permissions and
|
|
155
|
-
* limitations under the License.
|
|
156
|
-
*/
|
|
157
|
-
|
|
39
|
+
//#endregion
|
|
40
|
+
//#region src/configs/math.d.ts
|
|
158
41
|
declare const math: Linter.Config[];
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
* Copyright 2024-2025 MICRORISC s.r.o.
|
|
162
|
-
*
|
|
163
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
164
|
-
* you may not use this file except in compliance with the License.
|
|
165
|
-
* You may obtain a copy of the License at
|
|
166
|
-
*
|
|
167
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
168
|
-
*
|
|
169
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
170
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
171
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
172
|
-
* See the License for the specific language governing permissions and
|
|
173
|
-
* limitations under the License.
|
|
174
|
-
*/
|
|
175
|
-
|
|
42
|
+
//#endregion
|
|
43
|
+
//#region src/configs/node.d.ts
|
|
176
44
|
declare const node: Linter.Config[];
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
* Copyright 2024-2025 MICRORISC s.r.o.
|
|
180
|
-
*
|
|
181
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
182
|
-
* you may not use this file except in compliance with the License.
|
|
183
|
-
* You may obtain a copy of the License at
|
|
184
|
-
*
|
|
185
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
186
|
-
*
|
|
187
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
188
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
189
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
190
|
-
* See the License for the specific language governing permissions and
|
|
191
|
-
* limitations under the License.
|
|
192
|
-
*/
|
|
193
|
-
|
|
45
|
+
//#endregion
|
|
46
|
+
//#region src/configs/perfectionist.d.ts
|
|
194
47
|
declare const perfectionist: Linter.Config[];
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
* Copyright 2024-2025 MICRORISC s.r.o.
|
|
198
|
-
*
|
|
199
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
200
|
-
* you may not use this file except in compliance with the License.
|
|
201
|
-
* You may obtain a copy of the License at
|
|
202
|
-
*
|
|
203
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
204
|
-
*
|
|
205
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
206
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
207
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
208
|
-
* See the License for the specific language governing permissions and
|
|
209
|
-
* limitations under the License.
|
|
210
|
-
*/
|
|
211
|
-
|
|
48
|
+
//#endregion
|
|
49
|
+
//#region src/configs/pinia.d.ts
|
|
212
50
|
declare const pinia: Linter.Config[];
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
* Copyright 2024-2025 MICRORISC s.r.o.
|
|
216
|
-
*
|
|
217
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
218
|
-
* you may not use this file except in compliance with the License.
|
|
219
|
-
* You may obtain a copy of the License at
|
|
220
|
-
*
|
|
221
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
222
|
-
*
|
|
223
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
224
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
225
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
226
|
-
* See the License for the specific language governing permissions and
|
|
227
|
-
* limitations under the License.
|
|
228
|
-
*/
|
|
229
|
-
|
|
51
|
+
//#endregion
|
|
52
|
+
//#region src/configs/promise.d.ts
|
|
230
53
|
declare const promise: Linter.Config[];
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
* Copyright 2024-2025 MICRORISC s.r.o.
|
|
234
|
-
*
|
|
235
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
236
|
-
* you may not use this file except in compliance with the License.
|
|
237
|
-
* You may obtain a copy of the License at
|
|
238
|
-
*
|
|
239
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
240
|
-
*
|
|
241
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
242
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
243
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
244
|
-
* See the License for the specific language governing permissions and
|
|
245
|
-
* limitations under the License.
|
|
246
|
-
*/
|
|
247
|
-
|
|
54
|
+
//#endregion
|
|
55
|
+
//#region src/configs/regexp.d.ts
|
|
248
56
|
declare const regexp: Linter.Config[];
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
* Copyright 2024-2025 MICRORISC s.r.o.
|
|
252
|
-
*
|
|
253
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
254
|
-
* you may not use this file except in compliance with the License.
|
|
255
|
-
* You may obtain a copy of the License at
|
|
256
|
-
*
|
|
257
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
258
|
-
*
|
|
259
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
260
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
261
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
262
|
-
* See the License for the specific language governing permissions and
|
|
263
|
-
* limitations under the License.
|
|
264
|
-
*/
|
|
265
|
-
|
|
57
|
+
//#endregion
|
|
58
|
+
//#region src/configs/stylistic.d.ts
|
|
266
59
|
declare const stylistic: Linter.Config[];
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
* Copyright 2024-2025 MICRORISC s.r.o.
|
|
270
|
-
*
|
|
271
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
272
|
-
* you may not use this file except in compliance with the License.
|
|
273
|
-
* You may obtain a copy of the License at
|
|
274
|
-
*
|
|
275
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
276
|
-
*
|
|
277
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
278
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
279
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
280
|
-
* See the License for the specific language governing permissions and
|
|
281
|
-
* limitations under the License.
|
|
282
|
-
*/
|
|
283
|
-
|
|
60
|
+
//#endregion
|
|
61
|
+
//#region src/configs/typescript.d.ts
|
|
284
62
|
declare const typescript: Linter.Config[];
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
* Copyright 2024-2025 MICRORISC s.r.o.
|
|
288
|
-
*
|
|
289
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
290
|
-
* you may not use this file except in compliance with the License.
|
|
291
|
-
* You may obtain a copy of the License at
|
|
292
|
-
*
|
|
293
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
294
|
-
*
|
|
295
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
296
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
297
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
298
|
-
* See the License for the specific language governing permissions and
|
|
299
|
-
* limitations under the License.
|
|
300
|
-
*/
|
|
301
|
-
|
|
63
|
+
//#endregion
|
|
64
|
+
//#region src/configs/unicorn.d.ts
|
|
302
65
|
declare const unicorn: Linter.Config[];
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
* Copyright 2024-2025 MICRORISC s.r.o.
|
|
306
|
-
*
|
|
307
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
308
|
-
* you may not use this file except in compliance with the License.
|
|
309
|
-
* You may obtain a copy of the License at
|
|
310
|
-
*
|
|
311
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
312
|
-
*
|
|
313
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
314
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
315
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
316
|
-
* See the License for the specific language governing permissions and
|
|
317
|
-
* limitations under the License.
|
|
318
|
-
*/
|
|
319
|
-
|
|
66
|
+
//#endregion
|
|
67
|
+
//#region src/configs/vitest.d.ts
|
|
320
68
|
declare const vitest: Linter.Config[];
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
* Copyright 2024-2025 MICRORISC s.r.o.
|
|
324
|
-
*
|
|
325
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
326
|
-
* you may not use this file except in compliance with the License.
|
|
327
|
-
* You may obtain a copy of the License at
|
|
328
|
-
*
|
|
329
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
330
|
-
*
|
|
331
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
332
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
333
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
334
|
-
* See the License for the specific language governing permissions and
|
|
335
|
-
* limitations under the License.
|
|
336
|
-
*/
|
|
337
|
-
|
|
69
|
+
//#endregion
|
|
70
|
+
//#region src/configs/vue.d.ts
|
|
338
71
|
/**
|
|
339
72
|
* Options for the Vue configuration.
|
|
340
73
|
*/
|
|
341
74
|
interface Options {
|
|
342
|
-
|
|
343
|
-
|
|
75
|
+
typescript: boolean;
|
|
76
|
+
vuetify: boolean;
|
|
344
77
|
}
|
|
345
78
|
/**
|
|
346
79
|
* Retrieves the Vue version from the package.json file.
|
|
@@ -348,25 +81,11 @@ interface Options {
|
|
|
348
81
|
*/
|
|
349
82
|
declare function getVueVersion(): number;
|
|
350
83
|
declare const vue: (options: Options) => Linter.Config[];
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
* Copyright 2024-2025 MICRORISC s.r.o.
|
|
354
|
-
*
|
|
355
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
356
|
-
* you may not use this file except in compliance with the License.
|
|
357
|
-
* You may obtain a copy of the License at
|
|
358
|
-
*
|
|
359
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
360
|
-
*
|
|
361
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
362
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
363
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
364
|
-
* See the License for the specific language governing permissions and
|
|
365
|
-
* limitations under the License.
|
|
366
|
-
*/
|
|
367
|
-
|
|
84
|
+
//#endregion
|
|
85
|
+
//#region src/configs/vue-i18n.d.ts
|
|
368
86
|
declare const vueI18n: Linter.Config[];
|
|
369
|
-
|
|
87
|
+
//#endregion
|
|
88
|
+
//#region src/env.d.ts
|
|
370
89
|
/**
|
|
371
90
|
* @const {boolean} isInEditor Is the code running in an editor?
|
|
372
91
|
*/
|
|
@@ -403,7 +122,8 @@ declare const hasVuetify: boolean;
|
|
|
403
122
|
* @const {string | undefined} versionVue Vue version
|
|
404
123
|
*/
|
|
405
124
|
declare const versionVue: string | undefined;
|
|
406
|
-
|
|
125
|
+
//#endregion
|
|
126
|
+
//#region src/types.d.ts
|
|
407
127
|
/**
|
|
408
128
|
* Copyright 2024-2025 MICRORISC s.r.o.
|
|
409
129
|
*
|
|
@@ -420,54 +140,39 @@ declare const versionVue: string | undefined;
|
|
|
420
140
|
* limitations under the License.
|
|
421
141
|
*/
|
|
422
142
|
interface IqrfEslintOptions {
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
143
|
+
/** Cypress support - auto-enabled by default. */
|
|
144
|
+
cypress: boolean;
|
|
145
|
+
/** List of paths to ignore. */
|
|
146
|
+
ignores?: string[];
|
|
147
|
+
/** Import support - enabled by default. */
|
|
148
|
+
import: boolean;
|
|
149
|
+
/** JSDoc support - enabled by default. */
|
|
150
|
+
jsdoc: boolean;
|
|
151
|
+
/** Markdown support - enabled by default. */
|
|
152
|
+
markdown: boolean;
|
|
153
|
+
/** Node.js support - disabled by default. */
|
|
154
|
+
node: boolean;
|
|
155
|
+
/** Perfectionist rules - enabled by default. */
|
|
156
|
+
perfectionist: boolean;
|
|
157
|
+
/** Pinia support - auto-enabled by default. */
|
|
158
|
+
pinia: boolean;
|
|
159
|
+
/** Promise support - enabled by default. */
|
|
160
|
+
promise: boolean;
|
|
161
|
+
/** RegExp support - enabled by default. */
|
|
162
|
+
regExp: boolean;
|
|
163
|
+
/** TypeScript support - auto-enabled by default. */
|
|
164
|
+
typescript: boolean;
|
|
165
|
+
/** Vitest support - auto-enabled by default. */
|
|
166
|
+
vitest: boolean;
|
|
167
|
+
/** Vue.js support - auto-enabled by default. */
|
|
168
|
+
vue: boolean;
|
|
169
|
+
/** Vue-i18n support - auto-enabled by default. */
|
|
170
|
+
vueI18n: boolean;
|
|
171
|
+
/** Vuetify support - auto-enabled by default. */
|
|
172
|
+
vuetify: boolean;
|
|
453
173
|
}
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
* Copyright 2024-2025 MICRORISC s.r.o.
|
|
457
|
-
*
|
|
458
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
459
|
-
* you may not use this file except in compliance with the License.
|
|
460
|
-
* You may obtain a copy of the License at
|
|
461
|
-
*
|
|
462
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
463
|
-
*
|
|
464
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
465
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
466
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
467
|
-
* See the License for the specific language governing permissions and
|
|
468
|
-
* limitations under the License.
|
|
469
|
-
*/
|
|
470
|
-
|
|
174
|
+
//#endregion
|
|
175
|
+
//#region src/index.d.ts
|
|
471
176
|
/**
|
|
472
177
|
* Generate ESLint configuration.
|
|
473
178
|
* @param {Partial<IqrfEslintOptions>} options Configuration options.
|
|
@@ -475,5 +180,5 @@ interface IqrfEslintOptions {
|
|
|
475
180
|
* @return {Linter.Config[]} Generated ESLint configuration.
|
|
476
181
|
*/
|
|
477
182
|
declare function iqrfEslint(options?: Partial<IqrfEslintOptions>, config?: Linter.Config | Linter.Config[]): Linter.Config[];
|
|
478
|
-
|
|
479
|
-
export {
|
|
183
|
+
//#endregion
|
|
184
|
+
export { IqrfEslintOptions, comments, cypress, getVueVersion, hasCypress, hasPinia, hasTypescript, hasVitest, hasVue, hasVueI18n, hasVuetify, imports, iqrfEslint, isInEditor, javascript, jsDoc, json, markdown, math, node, perfectionist, pinia, promise, regexp, stylistic, typescript, unicorn, versionVue, vitest, vue, vueI18n };
|