@depup/eslint-plugin-storybook 10.2.19-depup.0

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.
@@ -0,0 +1,806 @@
1
+ import * as _typescript_eslint_utils_ts_eslint from '@typescript-eslint/utils/ts-eslint';
2
+
3
+ declare const configs: {
4
+ csf: {
5
+ plugins: string[];
6
+ overrides: ({
7
+ files: string[];
8
+ rules: {
9
+ readonly 'react-hooks/rules-of-hooks': "off";
10
+ readonly 'import-x/no-anonymous-default-export': "off";
11
+ readonly 'storybook/csf-component': "warn";
12
+ readonly 'storybook/default-exports': "error";
13
+ readonly 'storybook/hierarchy-separator': "warn";
14
+ readonly 'storybook/no-redundant-story-name': "warn";
15
+ readonly 'storybook/story-exports': "error";
16
+ readonly 'storybook/no-uninstalled-addons'?: undefined;
17
+ };
18
+ } | {
19
+ files: string[];
20
+ rules: {
21
+ readonly 'storybook/no-uninstalled-addons': "error";
22
+ readonly 'react-hooks/rules-of-hooks'?: undefined;
23
+ readonly 'import-x/no-anonymous-default-export'?: undefined;
24
+ readonly 'storybook/csf-component'?: undefined;
25
+ readonly 'storybook/default-exports'?: undefined;
26
+ readonly 'storybook/hierarchy-separator'?: undefined;
27
+ readonly 'storybook/no-redundant-story-name'?: undefined;
28
+ readonly 'storybook/story-exports'?: undefined;
29
+ };
30
+ })[];
31
+ };
32
+ 'csf-strict': {
33
+ extends: string;
34
+ overrides: {
35
+ files: string[];
36
+ rules: {
37
+ readonly 'react-hooks/rules-of-hooks': "off";
38
+ readonly 'import-x/no-anonymous-default-export': "off";
39
+ readonly 'storybook/no-stories-of': "error";
40
+ readonly 'storybook/no-title-property-in-meta': "error";
41
+ };
42
+ }[];
43
+ };
44
+ 'addon-interactions': {
45
+ plugins: string[];
46
+ overrides: ({
47
+ files: string[];
48
+ rules: {
49
+ readonly 'react-hooks/rules-of-hooks': "off";
50
+ readonly 'import-x/no-anonymous-default-export': "off";
51
+ readonly 'storybook/await-interactions': "error";
52
+ readonly 'storybook/context-in-play-function': "error";
53
+ readonly 'storybook/use-storybook-expect': "error";
54
+ readonly 'storybook/use-storybook-testing-library': "error";
55
+ readonly 'storybook/no-uninstalled-addons'?: undefined;
56
+ };
57
+ } | {
58
+ files: string[];
59
+ rules: {
60
+ readonly 'storybook/no-uninstalled-addons': "error";
61
+ readonly 'react-hooks/rules-of-hooks'?: undefined;
62
+ readonly 'import-x/no-anonymous-default-export'?: undefined;
63
+ readonly 'storybook/await-interactions'?: undefined;
64
+ readonly 'storybook/context-in-play-function'?: undefined;
65
+ readonly 'storybook/use-storybook-expect'?: undefined;
66
+ readonly 'storybook/use-storybook-testing-library'?: undefined;
67
+ };
68
+ })[];
69
+ };
70
+ recommended: {
71
+ plugins: string[];
72
+ overrides: ({
73
+ files: string[];
74
+ rules: {
75
+ readonly 'react-hooks/rules-of-hooks': "off";
76
+ readonly 'import-x/no-anonymous-default-export': "off";
77
+ readonly 'storybook/await-interactions': "error";
78
+ readonly 'storybook/context-in-play-function': "error";
79
+ readonly 'storybook/default-exports': "error";
80
+ readonly 'storybook/hierarchy-separator': "warn";
81
+ readonly 'storybook/no-redundant-story-name': "warn";
82
+ readonly 'storybook/no-renderer-packages': "error";
83
+ readonly 'storybook/prefer-pascal-case': "warn";
84
+ readonly 'storybook/story-exports': "error";
85
+ readonly 'storybook/use-storybook-expect': "error";
86
+ readonly 'storybook/use-storybook-testing-library': "error";
87
+ readonly 'storybook/no-uninstalled-addons'?: undefined;
88
+ };
89
+ } | {
90
+ files: string[];
91
+ rules: {
92
+ readonly 'storybook/no-uninstalled-addons': "error";
93
+ readonly 'react-hooks/rules-of-hooks'?: undefined;
94
+ readonly 'import-x/no-anonymous-default-export'?: undefined;
95
+ readonly 'storybook/await-interactions'?: undefined;
96
+ readonly 'storybook/context-in-play-function'?: undefined;
97
+ readonly 'storybook/default-exports'?: undefined;
98
+ readonly 'storybook/hierarchy-separator'?: undefined;
99
+ readonly 'storybook/no-redundant-story-name'?: undefined;
100
+ readonly 'storybook/no-renderer-packages'?: undefined;
101
+ readonly 'storybook/prefer-pascal-case'?: undefined;
102
+ readonly 'storybook/story-exports'?: undefined;
103
+ readonly 'storybook/use-storybook-expect'?: undefined;
104
+ readonly 'storybook/use-storybook-testing-library'?: undefined;
105
+ };
106
+ })[];
107
+ };
108
+ 'flat/csf': ({
109
+ name: string;
110
+ plugins: {
111
+ readonly storybook: {
112
+ configs: /*elided*/ any;
113
+ rules: {
114
+ 'await-interactions': _typescript_eslint_utils_ts_eslint.RuleModule<"interactionShouldBeAwaited" | "fixSuggestion", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
115
+ 'context-in-play-function': _typescript_eslint_utils_ts_eslint.RuleModule<"passContextToPlayFunction", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
116
+ 'csf-component': _typescript_eslint_utils_ts_eslint.RuleModule<"missingComponentProperty", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
117
+ 'default-exports': _typescript_eslint_utils_ts_eslint.RuleModule<"fixSuggestion" | "shouldHaveDefaultExport", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
118
+ 'hierarchy-separator': _typescript_eslint_utils_ts_eslint.RuleModule<"useCorrectSeparators" | "deprecatedHierarchySeparator", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
119
+ 'meta-inline-properties': _typescript_eslint_utils_ts_eslint.RuleModule<"metaShouldHaveInlineProperties", {
120
+ csfVersion: number;
121
+ }[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
122
+ 'meta-satisfies-type': _typescript_eslint_utils_ts_eslint.RuleModule<"metaShouldSatisfyType", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
123
+ 'no-redundant-story-name': _typescript_eslint_utils_ts_eslint.RuleModule<"removeRedundantName" | "storyNameIsRedundant", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
124
+ 'no-renderer-packages': _typescript_eslint_utils_ts_eslint.RuleModule<"noRendererPackages", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
125
+ 'no-stories-of': _typescript_eslint_utils_ts_eslint.RuleModule<"doNotUseStoriesOf", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
126
+ 'no-title-property-in-meta': _typescript_eslint_utils_ts_eslint.RuleModule<"removeTitleInMeta" | "noTitleInMeta", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
127
+ 'no-uninstalled-addons': _typescript_eslint_utils_ts_eslint.RuleModule<"addonIsNotInstalled", {
128
+ packageJsonLocation: string;
129
+ ignore: string[];
130
+ }[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
131
+ 'prefer-pascal-case': _typescript_eslint_utils_ts_eslint.RuleModule<"convertToPascalCase" | "usePascalCase", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
132
+ 'story-exports': _typescript_eslint_utils_ts_eslint.RuleModule<"shouldHaveStoryExport" | "shouldHaveStoryExportWithFilters" | "addStoryExport", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
133
+ 'use-storybook-expect': _typescript_eslint_utils_ts_eslint.RuleModule<string, {
134
+ storybookJestPath?: string;
135
+ }[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
136
+ 'use-storybook-testing-library': _typescript_eslint_utils_ts_eslint.RuleModule<"updateImports" | "dontUseTestingLibraryDirectly", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
137
+ };
138
+ };
139
+ };
140
+ files?: undefined;
141
+ rules?: undefined;
142
+ } | {
143
+ name: string;
144
+ files: string[];
145
+ rules: {
146
+ readonly 'react-hooks/rules-of-hooks': "off";
147
+ readonly 'import-x/no-anonymous-default-export': "off";
148
+ readonly 'storybook/csf-component': "warn";
149
+ readonly 'storybook/default-exports': "error";
150
+ readonly 'storybook/hierarchy-separator': "warn";
151
+ readonly 'storybook/no-redundant-story-name': "warn";
152
+ readonly 'storybook/story-exports': "error";
153
+ readonly 'storybook/no-uninstalled-addons'?: undefined;
154
+ };
155
+ plugins?: undefined;
156
+ } | {
157
+ name: string;
158
+ files: string[];
159
+ rules: {
160
+ readonly 'storybook/no-uninstalled-addons': "error";
161
+ readonly 'react-hooks/rules-of-hooks'?: undefined;
162
+ readonly 'import-x/no-anonymous-default-export'?: undefined;
163
+ readonly 'storybook/csf-component'?: undefined;
164
+ readonly 'storybook/default-exports'?: undefined;
165
+ readonly 'storybook/hierarchy-separator'?: undefined;
166
+ readonly 'storybook/no-redundant-story-name'?: undefined;
167
+ readonly 'storybook/story-exports'?: undefined;
168
+ };
169
+ plugins?: undefined;
170
+ })[];
171
+ 'flat/csf-strict': ({
172
+ name: string;
173
+ plugins: {
174
+ readonly storybook: {
175
+ configs: /*elided*/ any;
176
+ rules: {
177
+ 'await-interactions': _typescript_eslint_utils_ts_eslint.RuleModule<"interactionShouldBeAwaited" | "fixSuggestion", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
178
+ 'context-in-play-function': _typescript_eslint_utils_ts_eslint.RuleModule<"passContextToPlayFunction", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
179
+ 'csf-component': _typescript_eslint_utils_ts_eslint.RuleModule<"missingComponentProperty", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
180
+ 'default-exports': _typescript_eslint_utils_ts_eslint.RuleModule<"fixSuggestion" | "shouldHaveDefaultExport", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
181
+ 'hierarchy-separator': _typescript_eslint_utils_ts_eslint.RuleModule<"useCorrectSeparators" | "deprecatedHierarchySeparator", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
182
+ 'meta-inline-properties': _typescript_eslint_utils_ts_eslint.RuleModule<"metaShouldHaveInlineProperties", {
183
+ csfVersion: number;
184
+ }[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
185
+ 'meta-satisfies-type': _typescript_eslint_utils_ts_eslint.RuleModule<"metaShouldSatisfyType", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
186
+ 'no-redundant-story-name': _typescript_eslint_utils_ts_eslint.RuleModule<"removeRedundantName" | "storyNameIsRedundant", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
187
+ 'no-renderer-packages': _typescript_eslint_utils_ts_eslint.RuleModule<"noRendererPackages", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
188
+ 'no-stories-of': _typescript_eslint_utils_ts_eslint.RuleModule<"doNotUseStoriesOf", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
189
+ 'no-title-property-in-meta': _typescript_eslint_utils_ts_eslint.RuleModule<"removeTitleInMeta" | "noTitleInMeta", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
190
+ 'no-uninstalled-addons': _typescript_eslint_utils_ts_eslint.RuleModule<"addonIsNotInstalled", {
191
+ packageJsonLocation: string;
192
+ ignore: string[];
193
+ }[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
194
+ 'prefer-pascal-case': _typescript_eslint_utils_ts_eslint.RuleModule<"convertToPascalCase" | "usePascalCase", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
195
+ 'story-exports': _typescript_eslint_utils_ts_eslint.RuleModule<"shouldHaveStoryExport" | "shouldHaveStoryExportWithFilters" | "addStoryExport", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
196
+ 'use-storybook-expect': _typescript_eslint_utils_ts_eslint.RuleModule<string, {
197
+ storybookJestPath?: string;
198
+ }[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
199
+ 'use-storybook-testing-library': _typescript_eslint_utils_ts_eslint.RuleModule<"updateImports" | "dontUseTestingLibraryDirectly", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
200
+ };
201
+ };
202
+ };
203
+ files?: undefined;
204
+ rules?: undefined;
205
+ } | {
206
+ name: string;
207
+ files: string[];
208
+ rules: {
209
+ readonly 'react-hooks/rules-of-hooks': "off";
210
+ readonly 'import-x/no-anonymous-default-export': "off";
211
+ readonly 'storybook/csf-component': "warn";
212
+ readonly 'storybook/default-exports': "error";
213
+ readonly 'storybook/hierarchy-separator': "warn";
214
+ readonly 'storybook/no-redundant-story-name': "warn";
215
+ readonly 'storybook/story-exports': "error";
216
+ readonly 'storybook/no-uninstalled-addons'?: undefined;
217
+ };
218
+ plugins?: undefined;
219
+ } | {
220
+ name: string;
221
+ files: string[];
222
+ rules: {
223
+ readonly 'storybook/no-uninstalled-addons': "error";
224
+ readonly 'react-hooks/rules-of-hooks'?: undefined;
225
+ readonly 'import-x/no-anonymous-default-export'?: undefined;
226
+ readonly 'storybook/csf-component'?: undefined;
227
+ readonly 'storybook/default-exports'?: undefined;
228
+ readonly 'storybook/hierarchy-separator'?: undefined;
229
+ readonly 'storybook/no-redundant-story-name'?: undefined;
230
+ readonly 'storybook/story-exports'?: undefined;
231
+ };
232
+ plugins?: undefined;
233
+ } | {
234
+ name: string;
235
+ files: string[];
236
+ rules: {
237
+ readonly 'react-hooks/rules-of-hooks': "off";
238
+ readonly 'import-x/no-anonymous-default-export': "off";
239
+ readonly 'storybook/no-stories-of': "error";
240
+ readonly 'storybook/no-title-property-in-meta': "error";
241
+ };
242
+ })[];
243
+ 'flat/addon-interactions': ({
244
+ name: string;
245
+ plugins: {
246
+ readonly storybook: {
247
+ configs: /*elided*/ any;
248
+ rules: {
249
+ 'await-interactions': _typescript_eslint_utils_ts_eslint.RuleModule<"interactionShouldBeAwaited" | "fixSuggestion", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
250
+ 'context-in-play-function': _typescript_eslint_utils_ts_eslint.RuleModule<"passContextToPlayFunction", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
251
+ 'csf-component': _typescript_eslint_utils_ts_eslint.RuleModule<"missingComponentProperty", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
252
+ 'default-exports': _typescript_eslint_utils_ts_eslint.RuleModule<"fixSuggestion" | "shouldHaveDefaultExport", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
253
+ 'hierarchy-separator': _typescript_eslint_utils_ts_eslint.RuleModule<"useCorrectSeparators" | "deprecatedHierarchySeparator", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
254
+ 'meta-inline-properties': _typescript_eslint_utils_ts_eslint.RuleModule<"metaShouldHaveInlineProperties", {
255
+ csfVersion: number;
256
+ }[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
257
+ 'meta-satisfies-type': _typescript_eslint_utils_ts_eslint.RuleModule<"metaShouldSatisfyType", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
258
+ 'no-redundant-story-name': _typescript_eslint_utils_ts_eslint.RuleModule<"removeRedundantName" | "storyNameIsRedundant", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
259
+ 'no-renderer-packages': _typescript_eslint_utils_ts_eslint.RuleModule<"noRendererPackages", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
260
+ 'no-stories-of': _typescript_eslint_utils_ts_eslint.RuleModule<"doNotUseStoriesOf", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
261
+ 'no-title-property-in-meta': _typescript_eslint_utils_ts_eslint.RuleModule<"removeTitleInMeta" | "noTitleInMeta", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
262
+ 'no-uninstalled-addons': _typescript_eslint_utils_ts_eslint.RuleModule<"addonIsNotInstalled", {
263
+ packageJsonLocation: string;
264
+ ignore: string[];
265
+ }[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
266
+ 'prefer-pascal-case': _typescript_eslint_utils_ts_eslint.RuleModule<"convertToPascalCase" | "usePascalCase", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
267
+ 'story-exports': _typescript_eslint_utils_ts_eslint.RuleModule<"shouldHaveStoryExport" | "shouldHaveStoryExportWithFilters" | "addStoryExport", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
268
+ 'use-storybook-expect': _typescript_eslint_utils_ts_eslint.RuleModule<string, {
269
+ storybookJestPath?: string;
270
+ }[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
271
+ 'use-storybook-testing-library': _typescript_eslint_utils_ts_eslint.RuleModule<"updateImports" | "dontUseTestingLibraryDirectly", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
272
+ };
273
+ };
274
+ };
275
+ files?: undefined;
276
+ rules?: undefined;
277
+ } | {
278
+ name: string;
279
+ files: string[];
280
+ rules: {
281
+ readonly 'react-hooks/rules-of-hooks': "off";
282
+ readonly 'import-x/no-anonymous-default-export': "off";
283
+ readonly 'storybook/await-interactions': "error";
284
+ readonly 'storybook/context-in-play-function': "error";
285
+ readonly 'storybook/use-storybook-expect': "error";
286
+ readonly 'storybook/use-storybook-testing-library': "error";
287
+ readonly 'storybook/no-uninstalled-addons'?: undefined;
288
+ };
289
+ plugins?: undefined;
290
+ } | {
291
+ name: string;
292
+ files: string[];
293
+ rules: {
294
+ readonly 'storybook/no-uninstalled-addons': "error";
295
+ readonly 'react-hooks/rules-of-hooks'?: undefined;
296
+ readonly 'import-x/no-anonymous-default-export'?: undefined;
297
+ readonly 'storybook/await-interactions'?: undefined;
298
+ readonly 'storybook/context-in-play-function'?: undefined;
299
+ readonly 'storybook/use-storybook-expect'?: undefined;
300
+ readonly 'storybook/use-storybook-testing-library'?: undefined;
301
+ };
302
+ plugins?: undefined;
303
+ })[];
304
+ 'flat/recommended': ({
305
+ name: string;
306
+ plugins: {
307
+ readonly storybook: {
308
+ configs: /*elided*/ any;
309
+ rules: {
310
+ 'await-interactions': _typescript_eslint_utils_ts_eslint.RuleModule<"interactionShouldBeAwaited" | "fixSuggestion", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
311
+ 'context-in-play-function': _typescript_eslint_utils_ts_eslint.RuleModule<"passContextToPlayFunction", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
312
+ 'csf-component': _typescript_eslint_utils_ts_eslint.RuleModule<"missingComponentProperty", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
313
+ 'default-exports': _typescript_eslint_utils_ts_eslint.RuleModule<"fixSuggestion" | "shouldHaveDefaultExport", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
314
+ 'hierarchy-separator': _typescript_eslint_utils_ts_eslint.RuleModule<"useCorrectSeparators" | "deprecatedHierarchySeparator", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
315
+ 'meta-inline-properties': _typescript_eslint_utils_ts_eslint.RuleModule<"metaShouldHaveInlineProperties", {
316
+ csfVersion: number;
317
+ }[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
318
+ 'meta-satisfies-type': _typescript_eslint_utils_ts_eslint.RuleModule<"metaShouldSatisfyType", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
319
+ 'no-redundant-story-name': _typescript_eslint_utils_ts_eslint.RuleModule<"removeRedundantName" | "storyNameIsRedundant", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
320
+ 'no-renderer-packages': _typescript_eslint_utils_ts_eslint.RuleModule<"noRendererPackages", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
321
+ 'no-stories-of': _typescript_eslint_utils_ts_eslint.RuleModule<"doNotUseStoriesOf", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
322
+ 'no-title-property-in-meta': _typescript_eslint_utils_ts_eslint.RuleModule<"removeTitleInMeta" | "noTitleInMeta", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
323
+ 'no-uninstalled-addons': _typescript_eslint_utils_ts_eslint.RuleModule<"addonIsNotInstalled", {
324
+ packageJsonLocation: string;
325
+ ignore: string[];
326
+ }[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
327
+ 'prefer-pascal-case': _typescript_eslint_utils_ts_eslint.RuleModule<"convertToPascalCase" | "usePascalCase", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
328
+ 'story-exports': _typescript_eslint_utils_ts_eslint.RuleModule<"shouldHaveStoryExport" | "shouldHaveStoryExportWithFilters" | "addStoryExport", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
329
+ 'use-storybook-expect': _typescript_eslint_utils_ts_eslint.RuleModule<string, {
330
+ storybookJestPath?: string;
331
+ }[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
332
+ 'use-storybook-testing-library': _typescript_eslint_utils_ts_eslint.RuleModule<"updateImports" | "dontUseTestingLibraryDirectly", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
333
+ };
334
+ };
335
+ };
336
+ files?: undefined;
337
+ rules?: undefined;
338
+ } | {
339
+ name: string;
340
+ files: string[];
341
+ rules: {
342
+ readonly 'react-hooks/rules-of-hooks': "off";
343
+ readonly 'import-x/no-anonymous-default-export': "off";
344
+ readonly 'storybook/await-interactions': "error";
345
+ readonly 'storybook/context-in-play-function': "error";
346
+ readonly 'storybook/default-exports': "error";
347
+ readonly 'storybook/hierarchy-separator': "warn";
348
+ readonly 'storybook/no-redundant-story-name': "warn";
349
+ readonly 'storybook/no-renderer-packages': "error";
350
+ readonly 'storybook/prefer-pascal-case': "warn";
351
+ readonly 'storybook/story-exports': "error";
352
+ readonly 'storybook/use-storybook-expect': "error";
353
+ readonly 'storybook/use-storybook-testing-library': "error";
354
+ readonly 'storybook/no-uninstalled-addons'?: undefined;
355
+ };
356
+ plugins?: undefined;
357
+ } | {
358
+ name: string;
359
+ files: string[];
360
+ rules: {
361
+ readonly 'storybook/no-uninstalled-addons': "error";
362
+ readonly 'react-hooks/rules-of-hooks'?: undefined;
363
+ readonly 'import-x/no-anonymous-default-export'?: undefined;
364
+ readonly 'storybook/await-interactions'?: undefined;
365
+ readonly 'storybook/context-in-play-function'?: undefined;
366
+ readonly 'storybook/default-exports'?: undefined;
367
+ readonly 'storybook/hierarchy-separator'?: undefined;
368
+ readonly 'storybook/no-redundant-story-name'?: undefined;
369
+ readonly 'storybook/no-renderer-packages'?: undefined;
370
+ readonly 'storybook/prefer-pascal-case'?: undefined;
371
+ readonly 'storybook/story-exports'?: undefined;
372
+ readonly 'storybook/use-storybook-expect'?: undefined;
373
+ readonly 'storybook/use-storybook-testing-library'?: undefined;
374
+ };
375
+ plugins?: undefined;
376
+ })[];
377
+ };
378
+ declare const rules: {
379
+ 'await-interactions': _typescript_eslint_utils_ts_eslint.RuleModule<"interactionShouldBeAwaited" | "fixSuggestion", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
380
+ 'context-in-play-function': _typescript_eslint_utils_ts_eslint.RuleModule<"passContextToPlayFunction", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
381
+ 'csf-component': _typescript_eslint_utils_ts_eslint.RuleModule<"missingComponentProperty", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
382
+ 'default-exports': _typescript_eslint_utils_ts_eslint.RuleModule<"fixSuggestion" | "shouldHaveDefaultExport", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
383
+ 'hierarchy-separator': _typescript_eslint_utils_ts_eslint.RuleModule<"useCorrectSeparators" | "deprecatedHierarchySeparator", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
384
+ 'meta-inline-properties': _typescript_eslint_utils_ts_eslint.RuleModule<"metaShouldHaveInlineProperties", {
385
+ csfVersion: number;
386
+ }[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
387
+ 'meta-satisfies-type': _typescript_eslint_utils_ts_eslint.RuleModule<"metaShouldSatisfyType", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
388
+ 'no-redundant-story-name': _typescript_eslint_utils_ts_eslint.RuleModule<"removeRedundantName" | "storyNameIsRedundant", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
389
+ 'no-renderer-packages': _typescript_eslint_utils_ts_eslint.RuleModule<"noRendererPackages", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
390
+ 'no-stories-of': _typescript_eslint_utils_ts_eslint.RuleModule<"doNotUseStoriesOf", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
391
+ 'no-title-property-in-meta': _typescript_eslint_utils_ts_eslint.RuleModule<"removeTitleInMeta" | "noTitleInMeta", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
392
+ 'no-uninstalled-addons': _typescript_eslint_utils_ts_eslint.RuleModule<"addonIsNotInstalled", {
393
+ packageJsonLocation: string;
394
+ ignore: string[];
395
+ }[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
396
+ 'prefer-pascal-case': _typescript_eslint_utils_ts_eslint.RuleModule<"convertToPascalCase" | "usePascalCase", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
397
+ 'story-exports': _typescript_eslint_utils_ts_eslint.RuleModule<"shouldHaveStoryExport" | "shouldHaveStoryExportWithFilters" | "addStoryExport", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
398
+ 'use-storybook-expect': _typescript_eslint_utils_ts_eslint.RuleModule<string, {
399
+ storybookJestPath?: string;
400
+ }[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
401
+ 'use-storybook-testing-library': _typescript_eslint_utils_ts_eslint.RuleModule<"updateImports" | "dontUseTestingLibraryDirectly", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
402
+ };
403
+ declare const _default: {
404
+ configs: {
405
+ csf: {
406
+ plugins: string[];
407
+ overrides: ({
408
+ files: string[];
409
+ rules: {
410
+ readonly 'react-hooks/rules-of-hooks': "off";
411
+ readonly 'import-x/no-anonymous-default-export': "off";
412
+ readonly 'storybook/csf-component': "warn";
413
+ readonly 'storybook/default-exports': "error";
414
+ readonly 'storybook/hierarchy-separator': "warn";
415
+ readonly 'storybook/no-redundant-story-name': "warn";
416
+ readonly 'storybook/story-exports': "error";
417
+ readonly 'storybook/no-uninstalled-addons'?: undefined;
418
+ };
419
+ } | {
420
+ files: string[];
421
+ rules: {
422
+ readonly 'storybook/no-uninstalled-addons': "error";
423
+ readonly 'react-hooks/rules-of-hooks'?: undefined;
424
+ readonly 'import-x/no-anonymous-default-export'?: undefined;
425
+ readonly 'storybook/csf-component'?: undefined;
426
+ readonly 'storybook/default-exports'?: undefined;
427
+ readonly 'storybook/hierarchy-separator'?: undefined;
428
+ readonly 'storybook/no-redundant-story-name'?: undefined;
429
+ readonly 'storybook/story-exports'?: undefined;
430
+ };
431
+ })[];
432
+ };
433
+ 'csf-strict': {
434
+ extends: string;
435
+ overrides: {
436
+ files: string[];
437
+ rules: {
438
+ readonly 'react-hooks/rules-of-hooks': "off";
439
+ readonly 'import-x/no-anonymous-default-export': "off";
440
+ readonly 'storybook/no-stories-of': "error";
441
+ readonly 'storybook/no-title-property-in-meta': "error";
442
+ };
443
+ }[];
444
+ };
445
+ 'addon-interactions': {
446
+ plugins: string[];
447
+ overrides: ({
448
+ files: string[];
449
+ rules: {
450
+ readonly 'react-hooks/rules-of-hooks': "off";
451
+ readonly 'import-x/no-anonymous-default-export': "off";
452
+ readonly 'storybook/await-interactions': "error";
453
+ readonly 'storybook/context-in-play-function': "error";
454
+ readonly 'storybook/use-storybook-expect': "error";
455
+ readonly 'storybook/use-storybook-testing-library': "error";
456
+ readonly 'storybook/no-uninstalled-addons'?: undefined;
457
+ };
458
+ } | {
459
+ files: string[];
460
+ rules: {
461
+ readonly 'storybook/no-uninstalled-addons': "error";
462
+ readonly 'react-hooks/rules-of-hooks'?: undefined;
463
+ readonly 'import-x/no-anonymous-default-export'?: undefined;
464
+ readonly 'storybook/await-interactions'?: undefined;
465
+ readonly 'storybook/context-in-play-function'?: undefined;
466
+ readonly 'storybook/use-storybook-expect'?: undefined;
467
+ readonly 'storybook/use-storybook-testing-library'?: undefined;
468
+ };
469
+ })[];
470
+ };
471
+ recommended: {
472
+ plugins: string[];
473
+ overrides: ({
474
+ files: string[];
475
+ rules: {
476
+ readonly 'react-hooks/rules-of-hooks': "off";
477
+ readonly 'import-x/no-anonymous-default-export': "off";
478
+ readonly 'storybook/await-interactions': "error";
479
+ readonly 'storybook/context-in-play-function': "error";
480
+ readonly 'storybook/default-exports': "error";
481
+ readonly 'storybook/hierarchy-separator': "warn";
482
+ readonly 'storybook/no-redundant-story-name': "warn";
483
+ readonly 'storybook/no-renderer-packages': "error";
484
+ readonly 'storybook/prefer-pascal-case': "warn";
485
+ readonly 'storybook/story-exports': "error";
486
+ readonly 'storybook/use-storybook-expect': "error";
487
+ readonly 'storybook/use-storybook-testing-library': "error";
488
+ readonly 'storybook/no-uninstalled-addons'?: undefined;
489
+ };
490
+ } | {
491
+ files: string[];
492
+ rules: {
493
+ readonly 'storybook/no-uninstalled-addons': "error";
494
+ readonly 'react-hooks/rules-of-hooks'?: undefined;
495
+ readonly 'import-x/no-anonymous-default-export'?: undefined;
496
+ readonly 'storybook/await-interactions'?: undefined;
497
+ readonly 'storybook/context-in-play-function'?: undefined;
498
+ readonly 'storybook/default-exports'?: undefined;
499
+ readonly 'storybook/hierarchy-separator'?: undefined;
500
+ readonly 'storybook/no-redundant-story-name'?: undefined;
501
+ readonly 'storybook/no-renderer-packages'?: undefined;
502
+ readonly 'storybook/prefer-pascal-case'?: undefined;
503
+ readonly 'storybook/story-exports'?: undefined;
504
+ readonly 'storybook/use-storybook-expect'?: undefined;
505
+ readonly 'storybook/use-storybook-testing-library'?: undefined;
506
+ };
507
+ })[];
508
+ };
509
+ 'flat/csf': ({
510
+ name: string;
511
+ plugins: {
512
+ readonly storybook: {
513
+ configs: /*elided*/ any;
514
+ rules: {
515
+ 'await-interactions': _typescript_eslint_utils_ts_eslint.RuleModule<"interactionShouldBeAwaited" | "fixSuggestion", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
516
+ 'context-in-play-function': _typescript_eslint_utils_ts_eslint.RuleModule<"passContextToPlayFunction", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
517
+ 'csf-component': _typescript_eslint_utils_ts_eslint.RuleModule<"missingComponentProperty", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
518
+ 'default-exports': _typescript_eslint_utils_ts_eslint.RuleModule<"fixSuggestion" | "shouldHaveDefaultExport", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
519
+ 'hierarchy-separator': _typescript_eslint_utils_ts_eslint.RuleModule<"useCorrectSeparators" | "deprecatedHierarchySeparator", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
520
+ 'meta-inline-properties': _typescript_eslint_utils_ts_eslint.RuleModule<"metaShouldHaveInlineProperties", {
521
+ csfVersion: number;
522
+ }[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
523
+ 'meta-satisfies-type': _typescript_eslint_utils_ts_eslint.RuleModule<"metaShouldSatisfyType", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
524
+ 'no-redundant-story-name': _typescript_eslint_utils_ts_eslint.RuleModule<"removeRedundantName" | "storyNameIsRedundant", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
525
+ 'no-renderer-packages': _typescript_eslint_utils_ts_eslint.RuleModule<"noRendererPackages", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
526
+ 'no-stories-of': _typescript_eslint_utils_ts_eslint.RuleModule<"doNotUseStoriesOf", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
527
+ 'no-title-property-in-meta': _typescript_eslint_utils_ts_eslint.RuleModule<"removeTitleInMeta" | "noTitleInMeta", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
528
+ 'no-uninstalled-addons': _typescript_eslint_utils_ts_eslint.RuleModule<"addonIsNotInstalled", {
529
+ packageJsonLocation: string;
530
+ ignore: string[];
531
+ }[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
532
+ 'prefer-pascal-case': _typescript_eslint_utils_ts_eslint.RuleModule<"convertToPascalCase" | "usePascalCase", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
533
+ 'story-exports': _typescript_eslint_utils_ts_eslint.RuleModule<"shouldHaveStoryExport" | "shouldHaveStoryExportWithFilters" | "addStoryExport", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
534
+ 'use-storybook-expect': _typescript_eslint_utils_ts_eslint.RuleModule<string, {
535
+ storybookJestPath?: string;
536
+ }[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
537
+ 'use-storybook-testing-library': _typescript_eslint_utils_ts_eslint.RuleModule<"updateImports" | "dontUseTestingLibraryDirectly", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
538
+ };
539
+ };
540
+ };
541
+ files?: undefined;
542
+ rules?: undefined;
543
+ } | {
544
+ name: string;
545
+ files: string[];
546
+ rules: {
547
+ readonly 'react-hooks/rules-of-hooks': "off";
548
+ readonly 'import-x/no-anonymous-default-export': "off";
549
+ readonly 'storybook/csf-component': "warn";
550
+ readonly 'storybook/default-exports': "error";
551
+ readonly 'storybook/hierarchy-separator': "warn";
552
+ readonly 'storybook/no-redundant-story-name': "warn";
553
+ readonly 'storybook/story-exports': "error";
554
+ readonly 'storybook/no-uninstalled-addons'?: undefined;
555
+ };
556
+ plugins?: undefined;
557
+ } | {
558
+ name: string;
559
+ files: string[];
560
+ rules: {
561
+ readonly 'storybook/no-uninstalled-addons': "error";
562
+ readonly 'react-hooks/rules-of-hooks'?: undefined;
563
+ readonly 'import-x/no-anonymous-default-export'?: undefined;
564
+ readonly 'storybook/csf-component'?: undefined;
565
+ readonly 'storybook/default-exports'?: undefined;
566
+ readonly 'storybook/hierarchy-separator'?: undefined;
567
+ readonly 'storybook/no-redundant-story-name'?: undefined;
568
+ readonly 'storybook/story-exports'?: undefined;
569
+ };
570
+ plugins?: undefined;
571
+ })[];
572
+ 'flat/csf-strict': ({
573
+ name: string;
574
+ plugins: {
575
+ readonly storybook: {
576
+ configs: /*elided*/ any;
577
+ rules: {
578
+ 'await-interactions': _typescript_eslint_utils_ts_eslint.RuleModule<"interactionShouldBeAwaited" | "fixSuggestion", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
579
+ 'context-in-play-function': _typescript_eslint_utils_ts_eslint.RuleModule<"passContextToPlayFunction", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
580
+ 'csf-component': _typescript_eslint_utils_ts_eslint.RuleModule<"missingComponentProperty", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
581
+ 'default-exports': _typescript_eslint_utils_ts_eslint.RuleModule<"fixSuggestion" | "shouldHaveDefaultExport", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
582
+ 'hierarchy-separator': _typescript_eslint_utils_ts_eslint.RuleModule<"useCorrectSeparators" | "deprecatedHierarchySeparator", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
583
+ 'meta-inline-properties': _typescript_eslint_utils_ts_eslint.RuleModule<"metaShouldHaveInlineProperties", {
584
+ csfVersion: number;
585
+ }[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
586
+ 'meta-satisfies-type': _typescript_eslint_utils_ts_eslint.RuleModule<"metaShouldSatisfyType", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
587
+ 'no-redundant-story-name': _typescript_eslint_utils_ts_eslint.RuleModule<"removeRedundantName" | "storyNameIsRedundant", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
588
+ 'no-renderer-packages': _typescript_eslint_utils_ts_eslint.RuleModule<"noRendererPackages", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
589
+ 'no-stories-of': _typescript_eslint_utils_ts_eslint.RuleModule<"doNotUseStoriesOf", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
590
+ 'no-title-property-in-meta': _typescript_eslint_utils_ts_eslint.RuleModule<"removeTitleInMeta" | "noTitleInMeta", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
591
+ 'no-uninstalled-addons': _typescript_eslint_utils_ts_eslint.RuleModule<"addonIsNotInstalled", {
592
+ packageJsonLocation: string;
593
+ ignore: string[];
594
+ }[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
595
+ 'prefer-pascal-case': _typescript_eslint_utils_ts_eslint.RuleModule<"convertToPascalCase" | "usePascalCase", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
596
+ 'story-exports': _typescript_eslint_utils_ts_eslint.RuleModule<"shouldHaveStoryExport" | "shouldHaveStoryExportWithFilters" | "addStoryExport", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
597
+ 'use-storybook-expect': _typescript_eslint_utils_ts_eslint.RuleModule<string, {
598
+ storybookJestPath?: string;
599
+ }[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
600
+ 'use-storybook-testing-library': _typescript_eslint_utils_ts_eslint.RuleModule<"updateImports" | "dontUseTestingLibraryDirectly", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
601
+ };
602
+ };
603
+ };
604
+ files?: undefined;
605
+ rules?: undefined;
606
+ } | {
607
+ name: string;
608
+ files: string[];
609
+ rules: {
610
+ readonly 'react-hooks/rules-of-hooks': "off";
611
+ readonly 'import-x/no-anonymous-default-export': "off";
612
+ readonly 'storybook/csf-component': "warn";
613
+ readonly 'storybook/default-exports': "error";
614
+ readonly 'storybook/hierarchy-separator': "warn";
615
+ readonly 'storybook/no-redundant-story-name': "warn";
616
+ readonly 'storybook/story-exports': "error";
617
+ readonly 'storybook/no-uninstalled-addons'?: undefined;
618
+ };
619
+ plugins?: undefined;
620
+ } | {
621
+ name: string;
622
+ files: string[];
623
+ rules: {
624
+ readonly 'storybook/no-uninstalled-addons': "error";
625
+ readonly 'react-hooks/rules-of-hooks'?: undefined;
626
+ readonly 'import-x/no-anonymous-default-export'?: undefined;
627
+ readonly 'storybook/csf-component'?: undefined;
628
+ readonly 'storybook/default-exports'?: undefined;
629
+ readonly 'storybook/hierarchy-separator'?: undefined;
630
+ readonly 'storybook/no-redundant-story-name'?: undefined;
631
+ readonly 'storybook/story-exports'?: undefined;
632
+ };
633
+ plugins?: undefined;
634
+ } | {
635
+ name: string;
636
+ files: string[];
637
+ rules: {
638
+ readonly 'react-hooks/rules-of-hooks': "off";
639
+ readonly 'import-x/no-anonymous-default-export': "off";
640
+ readonly 'storybook/no-stories-of': "error";
641
+ readonly 'storybook/no-title-property-in-meta': "error";
642
+ };
643
+ })[];
644
+ 'flat/addon-interactions': ({
645
+ name: string;
646
+ plugins: {
647
+ readonly storybook: {
648
+ configs: /*elided*/ any;
649
+ rules: {
650
+ 'await-interactions': _typescript_eslint_utils_ts_eslint.RuleModule<"interactionShouldBeAwaited" | "fixSuggestion", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
651
+ 'context-in-play-function': _typescript_eslint_utils_ts_eslint.RuleModule<"passContextToPlayFunction", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
652
+ 'csf-component': _typescript_eslint_utils_ts_eslint.RuleModule<"missingComponentProperty", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
653
+ 'default-exports': _typescript_eslint_utils_ts_eslint.RuleModule<"fixSuggestion" | "shouldHaveDefaultExport", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
654
+ 'hierarchy-separator': _typescript_eslint_utils_ts_eslint.RuleModule<"useCorrectSeparators" | "deprecatedHierarchySeparator", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
655
+ 'meta-inline-properties': _typescript_eslint_utils_ts_eslint.RuleModule<"metaShouldHaveInlineProperties", {
656
+ csfVersion: number;
657
+ }[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
658
+ 'meta-satisfies-type': _typescript_eslint_utils_ts_eslint.RuleModule<"metaShouldSatisfyType", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
659
+ 'no-redundant-story-name': _typescript_eslint_utils_ts_eslint.RuleModule<"removeRedundantName" | "storyNameIsRedundant", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
660
+ 'no-renderer-packages': _typescript_eslint_utils_ts_eslint.RuleModule<"noRendererPackages", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
661
+ 'no-stories-of': _typescript_eslint_utils_ts_eslint.RuleModule<"doNotUseStoriesOf", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
662
+ 'no-title-property-in-meta': _typescript_eslint_utils_ts_eslint.RuleModule<"removeTitleInMeta" | "noTitleInMeta", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
663
+ 'no-uninstalled-addons': _typescript_eslint_utils_ts_eslint.RuleModule<"addonIsNotInstalled", {
664
+ packageJsonLocation: string;
665
+ ignore: string[];
666
+ }[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
667
+ 'prefer-pascal-case': _typescript_eslint_utils_ts_eslint.RuleModule<"convertToPascalCase" | "usePascalCase", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
668
+ 'story-exports': _typescript_eslint_utils_ts_eslint.RuleModule<"shouldHaveStoryExport" | "shouldHaveStoryExportWithFilters" | "addStoryExport", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
669
+ 'use-storybook-expect': _typescript_eslint_utils_ts_eslint.RuleModule<string, {
670
+ storybookJestPath?: string;
671
+ }[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
672
+ 'use-storybook-testing-library': _typescript_eslint_utils_ts_eslint.RuleModule<"updateImports" | "dontUseTestingLibraryDirectly", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
673
+ };
674
+ };
675
+ };
676
+ files?: undefined;
677
+ rules?: undefined;
678
+ } | {
679
+ name: string;
680
+ files: string[];
681
+ rules: {
682
+ readonly 'react-hooks/rules-of-hooks': "off";
683
+ readonly 'import-x/no-anonymous-default-export': "off";
684
+ readonly 'storybook/await-interactions': "error";
685
+ readonly 'storybook/context-in-play-function': "error";
686
+ readonly 'storybook/use-storybook-expect': "error";
687
+ readonly 'storybook/use-storybook-testing-library': "error";
688
+ readonly 'storybook/no-uninstalled-addons'?: undefined;
689
+ };
690
+ plugins?: undefined;
691
+ } | {
692
+ name: string;
693
+ files: string[];
694
+ rules: {
695
+ readonly 'storybook/no-uninstalled-addons': "error";
696
+ readonly 'react-hooks/rules-of-hooks'?: undefined;
697
+ readonly 'import-x/no-anonymous-default-export'?: undefined;
698
+ readonly 'storybook/await-interactions'?: undefined;
699
+ readonly 'storybook/context-in-play-function'?: undefined;
700
+ readonly 'storybook/use-storybook-expect'?: undefined;
701
+ readonly 'storybook/use-storybook-testing-library'?: undefined;
702
+ };
703
+ plugins?: undefined;
704
+ })[];
705
+ 'flat/recommended': ({
706
+ name: string;
707
+ plugins: {
708
+ readonly storybook: {
709
+ configs: /*elided*/ any;
710
+ rules: {
711
+ 'await-interactions': _typescript_eslint_utils_ts_eslint.RuleModule<"interactionShouldBeAwaited" | "fixSuggestion", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
712
+ 'context-in-play-function': _typescript_eslint_utils_ts_eslint.RuleModule<"passContextToPlayFunction", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
713
+ 'csf-component': _typescript_eslint_utils_ts_eslint.RuleModule<"missingComponentProperty", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
714
+ 'default-exports': _typescript_eslint_utils_ts_eslint.RuleModule<"fixSuggestion" | "shouldHaveDefaultExport", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
715
+ 'hierarchy-separator': _typescript_eslint_utils_ts_eslint.RuleModule<"useCorrectSeparators" | "deprecatedHierarchySeparator", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
716
+ 'meta-inline-properties': _typescript_eslint_utils_ts_eslint.RuleModule<"metaShouldHaveInlineProperties", {
717
+ csfVersion: number;
718
+ }[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
719
+ 'meta-satisfies-type': _typescript_eslint_utils_ts_eslint.RuleModule<"metaShouldSatisfyType", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
720
+ 'no-redundant-story-name': _typescript_eslint_utils_ts_eslint.RuleModule<"removeRedundantName" | "storyNameIsRedundant", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
721
+ 'no-renderer-packages': _typescript_eslint_utils_ts_eslint.RuleModule<"noRendererPackages", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
722
+ 'no-stories-of': _typescript_eslint_utils_ts_eslint.RuleModule<"doNotUseStoriesOf", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
723
+ 'no-title-property-in-meta': _typescript_eslint_utils_ts_eslint.RuleModule<"removeTitleInMeta" | "noTitleInMeta", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
724
+ 'no-uninstalled-addons': _typescript_eslint_utils_ts_eslint.RuleModule<"addonIsNotInstalled", {
725
+ packageJsonLocation: string;
726
+ ignore: string[];
727
+ }[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
728
+ 'prefer-pascal-case': _typescript_eslint_utils_ts_eslint.RuleModule<"convertToPascalCase" | "usePascalCase", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
729
+ 'story-exports': _typescript_eslint_utils_ts_eslint.RuleModule<"shouldHaveStoryExport" | "shouldHaveStoryExportWithFilters" | "addStoryExport", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
730
+ 'use-storybook-expect': _typescript_eslint_utils_ts_eslint.RuleModule<string, {
731
+ storybookJestPath?: string;
732
+ }[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
733
+ 'use-storybook-testing-library': _typescript_eslint_utils_ts_eslint.RuleModule<"updateImports" | "dontUseTestingLibraryDirectly", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
734
+ };
735
+ };
736
+ };
737
+ files?: undefined;
738
+ rules?: undefined;
739
+ } | {
740
+ name: string;
741
+ files: string[];
742
+ rules: {
743
+ readonly 'react-hooks/rules-of-hooks': "off";
744
+ readonly 'import-x/no-anonymous-default-export': "off";
745
+ readonly 'storybook/await-interactions': "error";
746
+ readonly 'storybook/context-in-play-function': "error";
747
+ readonly 'storybook/default-exports': "error";
748
+ readonly 'storybook/hierarchy-separator': "warn";
749
+ readonly 'storybook/no-redundant-story-name': "warn";
750
+ readonly 'storybook/no-renderer-packages': "error";
751
+ readonly 'storybook/prefer-pascal-case': "warn";
752
+ readonly 'storybook/story-exports': "error";
753
+ readonly 'storybook/use-storybook-expect': "error";
754
+ readonly 'storybook/use-storybook-testing-library': "error";
755
+ readonly 'storybook/no-uninstalled-addons'?: undefined;
756
+ };
757
+ plugins?: undefined;
758
+ } | {
759
+ name: string;
760
+ files: string[];
761
+ rules: {
762
+ readonly 'storybook/no-uninstalled-addons': "error";
763
+ readonly 'react-hooks/rules-of-hooks'?: undefined;
764
+ readonly 'import-x/no-anonymous-default-export'?: undefined;
765
+ readonly 'storybook/await-interactions'?: undefined;
766
+ readonly 'storybook/context-in-play-function'?: undefined;
767
+ readonly 'storybook/default-exports'?: undefined;
768
+ readonly 'storybook/hierarchy-separator'?: undefined;
769
+ readonly 'storybook/no-redundant-story-name'?: undefined;
770
+ readonly 'storybook/no-renderer-packages'?: undefined;
771
+ readonly 'storybook/prefer-pascal-case'?: undefined;
772
+ readonly 'storybook/story-exports'?: undefined;
773
+ readonly 'storybook/use-storybook-expect'?: undefined;
774
+ readonly 'storybook/use-storybook-testing-library'?: undefined;
775
+ };
776
+ plugins?: undefined;
777
+ })[];
778
+ };
779
+ rules: {
780
+ 'await-interactions': _typescript_eslint_utils_ts_eslint.RuleModule<"interactionShouldBeAwaited" | "fixSuggestion", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
781
+ 'context-in-play-function': _typescript_eslint_utils_ts_eslint.RuleModule<"passContextToPlayFunction", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
782
+ 'csf-component': _typescript_eslint_utils_ts_eslint.RuleModule<"missingComponentProperty", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
783
+ 'default-exports': _typescript_eslint_utils_ts_eslint.RuleModule<"fixSuggestion" | "shouldHaveDefaultExport", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
784
+ 'hierarchy-separator': _typescript_eslint_utils_ts_eslint.RuleModule<"useCorrectSeparators" | "deprecatedHierarchySeparator", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
785
+ 'meta-inline-properties': _typescript_eslint_utils_ts_eslint.RuleModule<"metaShouldHaveInlineProperties", {
786
+ csfVersion: number;
787
+ }[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
788
+ 'meta-satisfies-type': _typescript_eslint_utils_ts_eslint.RuleModule<"metaShouldSatisfyType", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
789
+ 'no-redundant-story-name': _typescript_eslint_utils_ts_eslint.RuleModule<"removeRedundantName" | "storyNameIsRedundant", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
790
+ 'no-renderer-packages': _typescript_eslint_utils_ts_eslint.RuleModule<"noRendererPackages", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
791
+ 'no-stories-of': _typescript_eslint_utils_ts_eslint.RuleModule<"doNotUseStoriesOf", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
792
+ 'no-title-property-in-meta': _typescript_eslint_utils_ts_eslint.RuleModule<"removeTitleInMeta" | "noTitleInMeta", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
793
+ 'no-uninstalled-addons': _typescript_eslint_utils_ts_eslint.RuleModule<"addonIsNotInstalled", {
794
+ packageJsonLocation: string;
795
+ ignore: string[];
796
+ }[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
797
+ 'prefer-pascal-case': _typescript_eslint_utils_ts_eslint.RuleModule<"convertToPascalCase" | "usePascalCase", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
798
+ 'story-exports': _typescript_eslint_utils_ts_eslint.RuleModule<"shouldHaveStoryExport" | "shouldHaveStoryExportWithFilters" | "addStoryExport", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
799
+ 'use-storybook-expect': _typescript_eslint_utils_ts_eslint.RuleModule<string, {
800
+ storybookJestPath?: string;
801
+ }[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
802
+ 'use-storybook-testing-library': _typescript_eslint_utils_ts_eslint.RuleModule<"updateImports" | "dontUseTestingLibraryDirectly", never[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
803
+ };
804
+ };
805
+
806
+ export { configs, _default as default, rules };