lint-suite 1.0.6 → 1.0.7

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