lint-suite 1.0.4 → 1.0.5

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/index.d.ts CHANGED
@@ -1,10 +1,305 @@
1
- export { angularTemplate } from './lib/angular-template.js';
2
- export { angular } from './lib/angular.js';
3
- export { base } from './lib/base.js';
4
- export { typescript } from './lib/typescript.js';
5
- export { jest } from './lib/jest.js';
6
- export { json } from './lib/json.js';
7
- export { rxjs } from './lib/rxjs.js';
8
- export { storybook } from './lib/storybook.js';
9
- export { javascript } from './lib/javascript.js';
1
+ import { angularTemplate } from './lib/angular-template.js';
2
+ import { angular } from './lib/angular.js';
3
+ import { javascript } from './lib/javascript.js';
4
+ import { jest } from './lib/jest.js';
5
+ import { json } from './lib/json.js';
6
+ import { rxjs } from './lib/rxjs.js';
7
+ import { storybook } from './lib/storybook.js';
8
+ import { typescript } from './lib/typescript.js';
9
+ export declare const recommended: (import("@typescript-eslint/utils/ts-eslint").FlatConfig.Config | {
10
+ files: string[];
11
+ rules: {
12
+ '@angular-eslint/template/no-any': string;
13
+ '@angular-eslint/template/no-duplicate-attributes': string;
14
+ '@angular-eslint/template/button-has-type': string;
15
+ '@angular-eslint/template/no-positive-tabindex': string;
16
+ '@angular-eslint/template/valid-aria': string;
17
+ '@angular-eslint/template/alt-text': string;
18
+ '@angular-eslint/template/elements-content': string;
19
+ '@angular-eslint/template/click-events-have-key-events': string;
20
+ '@angular-eslint/template/mouse-events-have-key-events': string;
21
+ '@angular-eslint/template/table-scope': string;
22
+ '@angular-eslint/template/no-autofocus': string;
23
+ '@angular-eslint/template/no-distracting-elements': string;
24
+ '@angular-eslint/template/prefer-control-flow': string;
25
+ '@angular-eslint/template/prefer-self-closing-tags': string;
26
+ '@angular-eslint/template/prefer-ngsrc': string;
27
+ '@angular-eslint/template/attributes-order': (string | {
28
+ alphabetical: boolean;
29
+ order: string[];
30
+ })[];
31
+ };
32
+ } | {
33
+ files: string[];
34
+ rules: {
35
+ '@angular-eslint/prefer-on-push-component-change-detection': string;
36
+ };
37
+ } | import("eslint").Linter.Config<import("eslint").Linter.RulesRecord> | {
38
+ files: string[];
39
+ plugins: {
40
+ local: {
41
+ rules: {
42
+ 'explicit-accessibility': import("@typescript-eslint/utils/ts-eslint").RuleModule<"missingAccessibility", [{
43
+ defaultAccessibility?: "public" | "private" | "protected";
44
+ }], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
45
+ };
46
+ };
47
+ };
48
+ rules: {
49
+ 'local/explicit-accessibility': string;
50
+ '@typescript-eslint/explicit-member-accessibility': string;
51
+ '@typescript-eslint/explicit-function-return-type': string;
52
+ '@typescript-eslint/no-empty-function': string;
53
+ '@typescript-eslint/no-unused-vars': string;
54
+ '@typescript-eslint/no-use-before-define': string;
55
+ '@typescript-eslint/no-explicit-any': string;
56
+ '@typescript-eslint/no-unsafe-assignment': string;
57
+ '@typescript-eslint/no-unsafe-call': string;
58
+ '@typescript-eslint/no-unsafe-member-access': string;
59
+ '@typescript-eslint/no-unsafe-return': string;
60
+ '@typescript-eslint/no-unsafe-argument': string;
61
+ '@typescript-eslint/explicit-module-boundary-types': string;
62
+ '@typescript-eslint/no-non-null-assertion': string;
63
+ '@typescript-eslint/no-floating-promises': (string | {
64
+ ignoreVoid: boolean;
65
+ })[];
66
+ '@typescript-eslint/no-misused-promises': string;
67
+ '@typescript-eslint/promise-function-async': string;
68
+ '@typescript-eslint/await-thenable': string;
69
+ '@typescript-eslint/no-inferrable-types': string;
70
+ '@typescript-eslint/no-var-requires': string;
71
+ '@typescript-eslint/require-await': string;
72
+ '@typescript-eslint/restrict-template-expressions': (string | {
73
+ allowNumber: boolean;
74
+ allowBoolean: boolean;
75
+ })[];
76
+ '@typescript-eslint/restrict-plus-operands': string;
77
+ '@typescript-eslint/prefer-as-const': string;
78
+ '@typescript-eslint/no-shadow': string;
79
+ '@typescript-eslint/switch-exhaustiveness-check': string;
80
+ '@typescript-eslint/no-unused-expressions': (string | {
81
+ allowShortCircuit: boolean;
82
+ allowTernary: boolean;
83
+ })[];
84
+ '@typescript-eslint/no-useless-constructor': string;
85
+ '@typescript-eslint/dot-notation': (string | {
86
+ allowKeywords: boolean;
87
+ })[];
88
+ '@typescript-eslint/consistent-type-assertions': (string | {
89
+ assertionStyle: string;
90
+ objectLiteralTypeAssertions: string;
91
+ })[];
92
+ '@typescript-eslint/consistent-type-definitions': string[];
93
+ '@typescript-eslint/consistent-type-imports': (string | {
94
+ prefer: string;
95
+ fixStyle: string;
96
+ })[];
97
+ '@typescript-eslint/naming-convention': (string | {
98
+ selector: string;
99
+ modifiers: string[];
100
+ format: null;
101
+ leadingUnderscore?: undefined;
102
+ } | {
103
+ selector: string;
104
+ format: string[];
105
+ modifiers?: undefined;
106
+ leadingUnderscore?: undefined;
107
+ } | {
108
+ selector: string;
109
+ format: string[];
110
+ leadingUnderscore: string;
111
+ modifiers?: undefined;
112
+ })[];
113
+ 'import-x/order': (string | {
114
+ groups: (string | string[])[];
115
+ pathGroups: {
116
+ group: string;
117
+ pattern: string;
118
+ position: string;
119
+ }[];
120
+ pathGroupsExcludedImportTypes: string[];
121
+ 'newlines-between': string;
122
+ alphabetize: {
123
+ order: string;
124
+ caseInsensitive: boolean;
125
+ };
126
+ })[];
127
+ 'import-x/no-unresolved': string;
128
+ 'import-x/no-duplicates': string;
129
+ 'import-x/prefer-default-export': string;
130
+ 'import-x/no-useless-path-segments': string;
131
+ 'import-x/newline-after-import': string;
132
+ 'import-x/first': string;
133
+ 'import-x/no-mutable-exports': string;
134
+ '@typescript-eslint/prefer-readonly'?: undefined;
135
+ '@typescript-eslint/no-namespace'?: undefined;
136
+ '@typescript-eslint/no-unbound-method'?: undefined;
137
+ };
138
+ settings: {
139
+ 'import-x/resolver-next': {
140
+ interfaceVersion: number;
141
+ name: string;
142
+ resolve(source: string, file: string): import("eslint-plugin-import-x").ResolvedResult;
143
+ }[];
144
+ };
145
+ languageOptions?: undefined;
146
+ } | {
147
+ files: string[];
148
+ languageOptions: {
149
+ parserOptions: {
150
+ projectService: boolean;
151
+ };
152
+ };
153
+ rules: {
154
+ '@typescript-eslint/prefer-readonly': string;
155
+ 'local/explicit-accessibility'?: undefined;
156
+ '@typescript-eslint/explicit-member-accessibility'?: undefined;
157
+ '@typescript-eslint/explicit-function-return-type'?: undefined;
158
+ '@typescript-eslint/no-empty-function'?: undefined;
159
+ '@typescript-eslint/no-unused-vars'?: undefined;
160
+ '@typescript-eslint/no-use-before-define'?: undefined;
161
+ '@typescript-eslint/no-explicit-any'?: undefined;
162
+ '@typescript-eslint/no-unsafe-assignment'?: undefined;
163
+ '@typescript-eslint/no-unsafe-call'?: undefined;
164
+ '@typescript-eslint/no-unsafe-member-access'?: undefined;
165
+ '@typescript-eslint/no-unsafe-return'?: undefined;
166
+ '@typescript-eslint/no-unsafe-argument'?: undefined;
167
+ '@typescript-eslint/explicit-module-boundary-types'?: undefined;
168
+ '@typescript-eslint/no-non-null-assertion'?: undefined;
169
+ '@typescript-eslint/no-floating-promises'?: undefined;
170
+ '@typescript-eslint/no-misused-promises'?: undefined;
171
+ '@typescript-eslint/promise-function-async'?: undefined;
172
+ '@typescript-eslint/await-thenable'?: undefined;
173
+ '@typescript-eslint/no-inferrable-types'?: undefined;
174
+ '@typescript-eslint/no-var-requires'?: undefined;
175
+ '@typescript-eslint/require-await'?: undefined;
176
+ '@typescript-eslint/restrict-template-expressions'?: undefined;
177
+ '@typescript-eslint/restrict-plus-operands'?: undefined;
178
+ '@typescript-eslint/prefer-as-const'?: undefined;
179
+ '@typescript-eslint/no-shadow'?: undefined;
180
+ '@typescript-eslint/switch-exhaustiveness-check'?: undefined;
181
+ '@typescript-eslint/no-unused-expressions'?: undefined;
182
+ '@typescript-eslint/no-useless-constructor'?: undefined;
183
+ '@typescript-eslint/dot-notation'?: undefined;
184
+ '@typescript-eslint/consistent-type-assertions'?: undefined;
185
+ '@typescript-eslint/consistent-type-definitions'?: undefined;
186
+ '@typescript-eslint/consistent-type-imports'?: undefined;
187
+ '@typescript-eslint/naming-convention'?: undefined;
188
+ 'import-x/order'?: undefined;
189
+ 'import-x/no-unresolved'?: undefined;
190
+ 'import-x/no-duplicates'?: undefined;
191
+ 'import-x/prefer-default-export'?: undefined;
192
+ 'import-x/no-useless-path-segments'?: undefined;
193
+ 'import-x/newline-after-import'?: undefined;
194
+ 'import-x/first'?: undefined;
195
+ 'import-x/no-mutable-exports'?: undefined;
196
+ '@typescript-eslint/no-namespace'?: undefined;
197
+ '@typescript-eslint/no-unbound-method'?: undefined;
198
+ };
199
+ plugins?: undefined;
200
+ settings?: undefined;
201
+ } | {
202
+ files: string[];
203
+ rules: {
204
+ '@typescript-eslint/no-namespace': string;
205
+ 'local/explicit-accessibility'?: undefined;
206
+ '@typescript-eslint/explicit-member-accessibility'?: undefined;
207
+ '@typescript-eslint/explicit-function-return-type'?: undefined;
208
+ '@typescript-eslint/no-empty-function'?: undefined;
209
+ '@typescript-eslint/no-unused-vars'?: undefined;
210
+ '@typescript-eslint/no-use-before-define'?: undefined;
211
+ '@typescript-eslint/no-explicit-any'?: undefined;
212
+ '@typescript-eslint/no-unsafe-assignment'?: undefined;
213
+ '@typescript-eslint/no-unsafe-call'?: undefined;
214
+ '@typescript-eslint/no-unsafe-member-access'?: undefined;
215
+ '@typescript-eslint/no-unsafe-return'?: undefined;
216
+ '@typescript-eslint/no-unsafe-argument'?: undefined;
217
+ '@typescript-eslint/explicit-module-boundary-types'?: undefined;
218
+ '@typescript-eslint/no-non-null-assertion'?: undefined;
219
+ '@typescript-eslint/no-floating-promises'?: undefined;
220
+ '@typescript-eslint/no-misused-promises'?: undefined;
221
+ '@typescript-eslint/promise-function-async'?: undefined;
222
+ '@typescript-eslint/await-thenable'?: undefined;
223
+ '@typescript-eslint/no-inferrable-types'?: undefined;
224
+ '@typescript-eslint/no-var-requires'?: undefined;
225
+ '@typescript-eslint/require-await'?: undefined;
226
+ '@typescript-eslint/restrict-template-expressions'?: undefined;
227
+ '@typescript-eslint/restrict-plus-operands'?: undefined;
228
+ '@typescript-eslint/prefer-as-const'?: undefined;
229
+ '@typescript-eslint/no-shadow'?: undefined;
230
+ '@typescript-eslint/switch-exhaustiveness-check'?: undefined;
231
+ '@typescript-eslint/no-unused-expressions'?: undefined;
232
+ '@typescript-eslint/no-useless-constructor'?: undefined;
233
+ '@typescript-eslint/dot-notation'?: undefined;
234
+ '@typescript-eslint/consistent-type-assertions'?: undefined;
235
+ '@typescript-eslint/consistent-type-definitions'?: undefined;
236
+ '@typescript-eslint/consistent-type-imports'?: undefined;
237
+ '@typescript-eslint/naming-convention'?: undefined;
238
+ 'import-x/order'?: undefined;
239
+ 'import-x/no-unresolved'?: undefined;
240
+ 'import-x/no-duplicates'?: undefined;
241
+ 'import-x/prefer-default-export'?: undefined;
242
+ 'import-x/no-useless-path-segments'?: undefined;
243
+ 'import-x/newline-after-import'?: undefined;
244
+ 'import-x/first'?: undefined;
245
+ 'import-x/no-mutable-exports'?: undefined;
246
+ '@typescript-eslint/prefer-readonly'?: undefined;
247
+ '@typescript-eslint/no-unbound-method'?: undefined;
248
+ };
249
+ plugins?: undefined;
250
+ settings?: undefined;
251
+ languageOptions?: undefined;
252
+ } | {
253
+ files: string[];
254
+ rules: {
255
+ '@typescript-eslint/no-empty-function': string;
256
+ '@typescript-eslint/no-unbound-method': string;
257
+ 'local/explicit-accessibility'?: undefined;
258
+ '@typescript-eslint/explicit-member-accessibility'?: undefined;
259
+ '@typescript-eslint/explicit-function-return-type'?: undefined;
260
+ '@typescript-eslint/no-unused-vars'?: undefined;
261
+ '@typescript-eslint/no-use-before-define'?: undefined;
262
+ '@typescript-eslint/no-explicit-any'?: undefined;
263
+ '@typescript-eslint/no-unsafe-assignment'?: undefined;
264
+ '@typescript-eslint/no-unsafe-call'?: undefined;
265
+ '@typescript-eslint/no-unsafe-member-access'?: undefined;
266
+ '@typescript-eslint/no-unsafe-return'?: undefined;
267
+ '@typescript-eslint/no-unsafe-argument'?: undefined;
268
+ '@typescript-eslint/explicit-module-boundary-types'?: undefined;
269
+ '@typescript-eslint/no-non-null-assertion'?: undefined;
270
+ '@typescript-eslint/no-floating-promises'?: undefined;
271
+ '@typescript-eslint/no-misused-promises'?: undefined;
272
+ '@typescript-eslint/promise-function-async'?: undefined;
273
+ '@typescript-eslint/await-thenable'?: undefined;
274
+ '@typescript-eslint/no-inferrable-types'?: undefined;
275
+ '@typescript-eslint/no-var-requires'?: undefined;
276
+ '@typescript-eslint/require-await'?: undefined;
277
+ '@typescript-eslint/restrict-template-expressions'?: undefined;
278
+ '@typescript-eslint/restrict-plus-operands'?: undefined;
279
+ '@typescript-eslint/prefer-as-const'?: undefined;
280
+ '@typescript-eslint/no-shadow'?: undefined;
281
+ '@typescript-eslint/switch-exhaustiveness-check'?: undefined;
282
+ '@typescript-eslint/no-unused-expressions'?: undefined;
283
+ '@typescript-eslint/no-useless-constructor'?: undefined;
284
+ '@typescript-eslint/dot-notation'?: undefined;
285
+ '@typescript-eslint/consistent-type-assertions'?: undefined;
286
+ '@typescript-eslint/consistent-type-definitions'?: undefined;
287
+ '@typescript-eslint/consistent-type-imports'?: undefined;
288
+ '@typescript-eslint/naming-convention'?: undefined;
289
+ 'import-x/order'?: undefined;
290
+ 'import-x/no-unresolved'?: undefined;
291
+ 'import-x/no-duplicates'?: undefined;
292
+ 'import-x/prefer-default-export'?: undefined;
293
+ 'import-x/no-useless-path-segments'?: undefined;
294
+ 'import-x/newline-after-import'?: undefined;
295
+ 'import-x/first'?: undefined;
296
+ 'import-x/no-mutable-exports'?: undefined;
297
+ '@typescript-eslint/prefer-readonly'?: undefined;
298
+ '@typescript-eslint/no-namespace'?: undefined;
299
+ };
300
+ plugins?: undefined;
301
+ settings?: undefined;
302
+ languageOptions?: undefined;
303
+ })[];
304
+ export { typescript, angularTemplate, angular, javascript, rxjs, jest, json, storybook };
10
305
  //# sourceMappingURL=index.d.ts.map
package/index.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../packages/lint-suite/src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAC3C,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACrC,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACrC,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACrC,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACrC,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../packages/lint-suite/src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAE3C,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACrC,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACrC,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACrC,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAUvB,CAAC;AAEF,OAAO,EACL,UAAU,EACV,eAAe,EACf,OAAO,EACP,UAAU,EACV,IAAI,EACJ,IAAI,EACJ,IAAI,EACJ,SAAS,EACV,CAAC"}