@4mbl/lint 1.0.0-beta.2 → 1.0.0-beta.20

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/next.d.ts CHANGED
@@ -11,6 +11,544 @@ type NextOptions = ReactOptions & {
11
11
  */
12
12
  uiPath: string | null;
13
13
  };
14
- declare function nextConfig(options?: Partial<NextOptions>): OxlintConfig;
14
+ declare function nextConfig(options?: Partial<NextOptions>): {
15
+ extends: {
16
+ extends: {
17
+ plugins: ("unicorn" | "typescript" | "import")[];
18
+ jsPlugins: never[];
19
+ categories: {
20
+ correctness: "error";
21
+ suspicious: "warn";
22
+ pedantic: "off";
23
+ perf: "warn";
24
+ style: "warn";
25
+ restriction: "warn";
26
+ nursery: "off";
27
+ };
28
+ env: {
29
+ builtin: true;
30
+ };
31
+ options: {
32
+ typeAware: true;
33
+ };
34
+ rules: {
35
+ 'eslint/no-var': "warn";
36
+ 'eslint/prefer-const': "error";
37
+ 'eslint/prefer-rest-params': "error";
38
+ 'eslint/prefer-spread': "error";
39
+ 'eslint/no-async-promise-executor': "error";
40
+ 'eslint/no-case-declarations': "error";
41
+ 'eslint/no-class-assign': "error";
42
+ 'eslint/no-compare-neg-zero': "error";
43
+ 'eslint/no-cond-assign': "error";
44
+ 'eslint/no-const-assign': "error";
45
+ 'eslint/no-constant-binary-expression': "error";
46
+ 'eslint/no-constant-condition': "error";
47
+ 'eslint/no-control-regex': "error";
48
+ 'eslint/no-debugger': "error";
49
+ 'eslint/no-delete-var': "error";
50
+ 'eslint/no-dupe-else-if': "error";
51
+ 'eslint/no-duplicate-case': "error";
52
+ 'eslint/no-empty': "error";
53
+ 'eslint/no-empty-character-class': "error";
54
+ 'eslint/no-empty-pattern': "error";
55
+ 'eslint/no-empty-static-block': "error";
56
+ 'eslint/no-ex-assign': "error";
57
+ 'eslint/no-extra-boolean-cast': "error";
58
+ 'eslint/no-fallthrough': ["error", {
59
+ allowEmptyCase: boolean;
60
+ }];
61
+ 'eslint/no-func-assign': "error";
62
+ 'eslint/no-global-assign': "error";
63
+ 'eslint/no-import-assign': "error";
64
+ 'eslint/no-invalid-regexp': "error";
65
+ 'eslint/no-irregular-whitespace': "error";
66
+ 'eslint/no-loss-of-precision': "error";
67
+ 'eslint/no-misleading-character-class': "error";
68
+ 'eslint/no-nonoctal-decimal-escape': "error";
69
+ 'eslint/no-obj-calls': "error";
70
+ 'eslint/no-prototype-builtins': "error";
71
+ 'eslint/no-redeclare': "error";
72
+ 'eslint/no-regex-spaces': "error";
73
+ 'eslint/no-self-assign': "error";
74
+ 'eslint/no-shadow-restricted-names': "error";
75
+ 'eslint/no-sparse-arrays': "error";
76
+ 'eslint/no-unexpected-multiline': "error";
77
+ 'eslint/no-unsafe-finally': "error";
78
+ 'eslint/no-unsafe-negation': "error";
79
+ 'eslint/no-unsafe-optional-chaining': "error";
80
+ 'eslint/no-unused-labels': "error";
81
+ 'eslint/no-unused-private-class-members': "error";
82
+ 'eslint/no-unused-vars': "warn";
83
+ 'eslint/no-useless-backreference': "error";
84
+ 'eslint/no-useless-catch': "error";
85
+ 'eslint/no-useless-escape': "error";
86
+ 'eslint/require-yield': "error";
87
+ 'eslint/use-isnan': "error";
88
+ 'eslint/valid-typeof': "error";
89
+ 'eslint/no-unused-expressions': "warn";
90
+ 'typescript/ban-ts-comment': "error";
91
+ 'typescript/no-duplicate-enum-values': "off";
92
+ 'typescript/no-empty-object-type': "error";
93
+ 'typescript/no-explicit-any': "error";
94
+ 'typescript/no-extra-non-null-assertion': "error";
95
+ 'typescript/no-misused-new': "error";
96
+ 'typescript/no-namespace': "error";
97
+ 'typescript/no-non-null-asserted-optional-chain': "error";
98
+ 'typescript/no-require-imports': "error";
99
+ 'typescript/no-this-alias': "error";
100
+ 'typescript/no-unnecessary-type-constraint': "error";
101
+ 'typescript/no-unsafe-declaration-merging': "error";
102
+ 'typescript/no-unsafe-function-type': "error";
103
+ 'typescript/no-wrapper-object-types': "error";
104
+ 'typescript/prefer-as-const': "error";
105
+ 'typescript/triple-slash-reference': "error";
106
+ 'typescript/explicit-member-accessibility': ["warn", {
107
+ accessibility: "no-public";
108
+ }];
109
+ 'eslint/id-length': "off";
110
+ 'eslint/sort-keys': "off";
111
+ 'eslint/capitalized-comments': "off";
112
+ 'eslint/func-style': "off";
113
+ 'eslint/complexity': "off";
114
+ 'eslint/max-params': "off";
115
+ 'eslint/no-ternary': "off";
116
+ 'eslint/curly': "warn";
117
+ 'typescript/consistent-type-definitions': ["warn", "type"];
118
+ 'eslint/max-statements': "off";
119
+ 'typescript/consistent-return': "off";
120
+ 'unicorn/switch-case-braces': "warn";
121
+ 'typescript/prefer-regexp-exec': "warn";
122
+ 'eslint/init-declarations': "off";
123
+ 'unicorn/no-null': "off";
124
+ 'eslint/no-undefined': "off";
125
+ 'eslint/no-console': "off";
126
+ 'eslint/no-continue': "off";
127
+ 'eslint/no-implicit-coercion': ["warn", {
128
+ allow: string[];
129
+ }];
130
+ 'eslint/no-plusplus': "off";
131
+ 'eslint/no-void': "off";
132
+ 'eslint/no-nested-ternary': "off";
133
+ 'eslint/no-empty-function': ["warn", {
134
+ allow: string[];
135
+ }];
136
+ 'unicorn/no-instanceof-builtins': "off";
137
+ 'unicorn/prefer-spread': "off";
138
+ 'eslint/new-cap': "off";
139
+ 'unicorn/no-await-expression-member': "off";
140
+ 'eslint/no-duplicate-imports': ["warn", {
141
+ allowSeparateTypeImports: boolean;
142
+ }];
143
+ 'import/no-named-export': "off";
144
+ 'import/no-default-export': "off";
145
+ 'import/prefer-default-export': "off";
146
+ 'import/no-namespace': "off";
147
+ 'import/exports-last': "off";
148
+ 'import/no-unassigned-import': "off";
149
+ 'import/group-exports': "off";
150
+ 'import/consistent-type-specifier-style': "off";
151
+ 'unicorn/no-new-array': "off";
152
+ 'eslint/no-array-constructor': "warn";
153
+ 'typescript/explicit-function-return-type': "off";
154
+ 'typescript/explicit-module-boundary-types': "off";
155
+ 'unicorn/no-anonymous-default-export': "off";
156
+ 'eslint/sort-imports': "off";
157
+ 'import/no-relative-parent-imports': "off";
158
+ 'eslint/no-magic-numbers': "off";
159
+ 'unicorn/prefer-modern-math-apis': "off";
160
+ 'eslint/no-use-before-define': "off";
161
+ 'eslint/constructor-super': "off";
162
+ 'eslint/getter-return': "off";
163
+ 'eslint/no-dupe-class-members': "off";
164
+ 'eslint/no-dupe-keys': "off";
165
+ 'eslint/no-new-native-nonconstructor': "off";
166
+ 'eslint/no-setter-return': "off";
167
+ 'eslint/no-this-before-super': "off";
168
+ 'eslint/no-undef': "off";
169
+ 'eslint/no-unreachable': "off";
170
+ 'eslint/no-with': "off";
171
+ 'unicorn/no-nested-ternary': "off";
172
+ 'oxc/no-optional-chaining': "off";
173
+ 'oxc/no-rest-spread-properties': "off";
174
+ 'oxc/no-async-await': "off";
175
+ };
176
+ }[];
177
+ plugins: ("react" | "unicorn" | "typescript" | "import")[];
178
+ jsPlugins: {
179
+ name: string;
180
+ specifier: string;
181
+ }[];
182
+ rules: {
183
+ 'react/rules-of-hooks': "error";
184
+ 'react/exhaustive-deps': "warn";
185
+ 'react-hooks-js/set-state-in-effect': "warn";
186
+ 'react/only-export-components': "error";
187
+ 'react-compiler-js/react-compiler': "error";
188
+ 'react/jsx-filename-extension': "off";
189
+ 'react/jsx-max-depth': "off";
190
+ 'react/no-multi-comp': "off";
191
+ 'react/jsx-props-no-spreading': "off";
192
+ 'react/jsx-no-literals': "off";
193
+ 'react/forbid-component-props': "off";
194
+ 'react/forbid-dom-props': "off";
195
+ };
196
+ overrides: {
197
+ files: string[];
198
+ rules: {
199
+ 'react/display-name': "error";
200
+ 'react/jsx-key': "error";
201
+ 'react/jsx-no-comment-textnodes': "error";
202
+ 'react/jsx-no-duplicate-props': "error";
203
+ 'react/jsx-no-target-blank': "off";
204
+ 'react/jsx-no-undef': "error";
205
+ 'react/no-children-prop': "error";
206
+ 'react/no-danger-with-children': "error";
207
+ 'react/no-direct-mutation-state': "error";
208
+ 'react/no-find-dom-node': "error";
209
+ 'react/no-is-mounted': "error";
210
+ 'react/no-render-return-value': "error";
211
+ 'react/no-string-refs': "error";
212
+ 'react/no-unescaped-entities': "error";
213
+ 'react/no-unknown-property': "off";
214
+ 'react/no-unsafe': "off";
215
+ 'react/react-in-jsx-scope': "off";
216
+ 'react/require-render-return': "error";
217
+ 'import/no-anonymous-default-export': "warn";
218
+ 'jsx-a11y/alt-text': ["warn", {
219
+ elements: "img"[];
220
+ img: string[];
221
+ }];
222
+ 'jsx-a11y/aria-props': "warn";
223
+ 'jsx-a11y/aria-proptypes': "warn";
224
+ 'jsx-a11y/aria-unsupported-elements': "warn";
225
+ 'jsx-a11y/role-has-required-aria-props': "warn";
226
+ 'jsx-a11y/role-supports-aria-props': "warn";
227
+ };
228
+ globals: {
229
+ AudioWorkletGlobalScope: "readonly";
230
+ AudioWorkletProcessor: "readonly";
231
+ currentFrame: "readonly";
232
+ currentTime: "readonly";
233
+ registerProcessor: "readonly";
234
+ sampleRate: "readonly";
235
+ WorkletGlobalScope: "readonly";
236
+ };
237
+ plugins: ("import" | "jsx-a11y")[];
238
+ env: {
239
+ browser: true;
240
+ node: true;
241
+ };
242
+ }[];
243
+ }[];
244
+ plugins: ("react" | "unicorn" | "typescript" | "import" | "nextjs")[];
245
+ rules: {
246
+ 'nextjs/google-font-display': "warn";
247
+ 'nextjs/google-font-preconnect': "warn";
248
+ 'nextjs/next-script-for-ga': "warn";
249
+ 'nextjs/no-async-client-component': "warn";
250
+ 'nextjs/no-before-interactive-script-outside-document': "warn";
251
+ 'nextjs/no-css-tags': "warn";
252
+ 'nextjs/no-head-element': "warn";
253
+ 'nextjs/no-html-link-for-pages': "error";
254
+ 'nextjs/no-page-custom-font': "warn";
255
+ 'nextjs/no-styled-jsx-in-document': "warn";
256
+ 'nextjs/no-sync-scripts': "error";
257
+ 'nextjs/no-title-in-document-head': "warn";
258
+ 'nextjs/no-typos': "warn";
259
+ 'nextjs/no-unwanted-polyfillio': "warn";
260
+ 'nextjs/inline-script-id': "error";
261
+ 'nextjs/no-assign-module-variable': "error";
262
+ 'nextjs/no-document-import-in-page': "error";
263
+ 'nextjs/no-duplicate-head': "error";
264
+ 'nextjs/no-head-import-in-document': "error";
265
+ 'nextjs/no-script-component-in-head': "error";
266
+ 'react/only-export-components': ["warn", {
267
+ allowExportNames: string[];
268
+ }];
269
+ };
270
+ ignorePatterns: string[];
271
+ overrides: ({
272
+ files: never[];
273
+ rules: {
274
+ 'react/only-export-components'?: undefined;
275
+ };
276
+ } | {
277
+ files: string[];
278
+ rules: {
279
+ 'react/only-export-components': "off";
280
+ };
281
+ })[];
282
+ };
15
283
  export { type OxlintConfig, defineConfig, nextConfig };
284
+ declare const _default: {
285
+ extends: {
286
+ extends: {
287
+ plugins: ("unicorn" | "typescript" | "import")[];
288
+ jsPlugins: never[];
289
+ categories: {
290
+ correctness: "error";
291
+ suspicious: "warn";
292
+ pedantic: "off";
293
+ perf: "warn";
294
+ style: "warn";
295
+ restriction: "warn";
296
+ nursery: "off";
297
+ };
298
+ env: {
299
+ builtin: true;
300
+ };
301
+ options: {
302
+ typeAware: true;
303
+ };
304
+ rules: {
305
+ 'eslint/no-var': "warn";
306
+ 'eslint/prefer-const': "error";
307
+ 'eslint/prefer-rest-params': "error";
308
+ 'eslint/prefer-spread': "error";
309
+ 'eslint/no-async-promise-executor': "error";
310
+ 'eslint/no-case-declarations': "error";
311
+ 'eslint/no-class-assign': "error";
312
+ 'eslint/no-compare-neg-zero': "error";
313
+ 'eslint/no-cond-assign': "error";
314
+ 'eslint/no-const-assign': "error";
315
+ 'eslint/no-constant-binary-expression': "error";
316
+ 'eslint/no-constant-condition': "error";
317
+ 'eslint/no-control-regex': "error";
318
+ 'eslint/no-debugger': "error";
319
+ 'eslint/no-delete-var': "error";
320
+ 'eslint/no-dupe-else-if': "error";
321
+ 'eslint/no-duplicate-case': "error";
322
+ 'eslint/no-empty': "error";
323
+ 'eslint/no-empty-character-class': "error";
324
+ 'eslint/no-empty-pattern': "error";
325
+ 'eslint/no-empty-static-block': "error";
326
+ 'eslint/no-ex-assign': "error";
327
+ 'eslint/no-extra-boolean-cast': "error";
328
+ 'eslint/no-fallthrough': ["error", {
329
+ allowEmptyCase: boolean;
330
+ }];
331
+ 'eslint/no-func-assign': "error";
332
+ 'eslint/no-global-assign': "error";
333
+ 'eslint/no-import-assign': "error";
334
+ 'eslint/no-invalid-regexp': "error";
335
+ 'eslint/no-irregular-whitespace': "error";
336
+ 'eslint/no-loss-of-precision': "error";
337
+ 'eslint/no-misleading-character-class': "error";
338
+ 'eslint/no-nonoctal-decimal-escape': "error";
339
+ 'eslint/no-obj-calls': "error";
340
+ 'eslint/no-prototype-builtins': "error";
341
+ 'eslint/no-redeclare': "error";
342
+ 'eslint/no-regex-spaces': "error";
343
+ 'eslint/no-self-assign': "error";
344
+ 'eslint/no-shadow-restricted-names': "error";
345
+ 'eslint/no-sparse-arrays': "error";
346
+ 'eslint/no-unexpected-multiline': "error";
347
+ 'eslint/no-unsafe-finally': "error";
348
+ 'eslint/no-unsafe-negation': "error";
349
+ 'eslint/no-unsafe-optional-chaining': "error";
350
+ 'eslint/no-unused-labels': "error";
351
+ 'eslint/no-unused-private-class-members': "error";
352
+ 'eslint/no-unused-vars': "warn";
353
+ 'eslint/no-useless-backreference': "error";
354
+ 'eslint/no-useless-catch': "error";
355
+ 'eslint/no-useless-escape': "error";
356
+ 'eslint/require-yield': "error";
357
+ 'eslint/use-isnan': "error";
358
+ 'eslint/valid-typeof': "error";
359
+ 'eslint/no-unused-expressions': "warn";
360
+ 'typescript/ban-ts-comment': "error";
361
+ 'typescript/no-duplicate-enum-values': "off";
362
+ 'typescript/no-empty-object-type': "error";
363
+ 'typescript/no-explicit-any': "error";
364
+ 'typescript/no-extra-non-null-assertion': "error";
365
+ 'typescript/no-misused-new': "error";
366
+ 'typescript/no-namespace': "error";
367
+ 'typescript/no-non-null-asserted-optional-chain': "error";
368
+ 'typescript/no-require-imports': "error";
369
+ 'typescript/no-this-alias': "error";
370
+ 'typescript/no-unnecessary-type-constraint': "error";
371
+ 'typescript/no-unsafe-declaration-merging': "error";
372
+ 'typescript/no-unsafe-function-type': "error";
373
+ 'typescript/no-wrapper-object-types': "error";
374
+ 'typescript/prefer-as-const': "error";
375
+ 'typescript/triple-slash-reference': "error";
376
+ 'typescript/explicit-member-accessibility': ["warn", {
377
+ accessibility: "no-public";
378
+ }];
379
+ 'eslint/id-length': "off";
380
+ 'eslint/sort-keys': "off";
381
+ 'eslint/capitalized-comments': "off";
382
+ 'eslint/func-style': "off";
383
+ 'eslint/complexity': "off";
384
+ 'eslint/max-params': "off";
385
+ 'eslint/no-ternary': "off";
386
+ 'eslint/curly': "warn";
387
+ 'typescript/consistent-type-definitions': ["warn", "type"];
388
+ 'eslint/max-statements': "off";
389
+ 'typescript/consistent-return': "off";
390
+ 'unicorn/switch-case-braces': "warn";
391
+ 'typescript/prefer-regexp-exec': "warn";
392
+ 'eslint/init-declarations': "off";
393
+ 'unicorn/no-null': "off";
394
+ 'eslint/no-undefined': "off";
395
+ 'eslint/no-console': "off";
396
+ 'eslint/no-continue': "off";
397
+ 'eslint/no-implicit-coercion': ["warn", {
398
+ allow: string[];
399
+ }];
400
+ 'eslint/no-plusplus': "off";
401
+ 'eslint/no-void': "off";
402
+ 'eslint/no-nested-ternary': "off";
403
+ 'eslint/no-empty-function': ["warn", {
404
+ allow: string[];
405
+ }];
406
+ 'unicorn/no-instanceof-builtins': "off";
407
+ 'unicorn/prefer-spread': "off";
408
+ 'eslint/new-cap': "off";
409
+ 'unicorn/no-await-expression-member': "off";
410
+ 'eslint/no-duplicate-imports': ["warn", {
411
+ allowSeparateTypeImports: boolean;
412
+ }];
413
+ 'import/no-named-export': "off";
414
+ 'import/no-default-export': "off";
415
+ 'import/prefer-default-export': "off";
416
+ 'import/no-namespace': "off";
417
+ 'import/exports-last': "off";
418
+ 'import/no-unassigned-import': "off";
419
+ 'import/group-exports': "off";
420
+ 'import/consistent-type-specifier-style': "off";
421
+ 'unicorn/no-new-array': "off";
422
+ 'eslint/no-array-constructor': "warn";
423
+ 'typescript/explicit-function-return-type': "off";
424
+ 'typescript/explicit-module-boundary-types': "off";
425
+ 'unicorn/no-anonymous-default-export': "off";
426
+ 'eslint/sort-imports': "off";
427
+ 'import/no-relative-parent-imports': "off";
428
+ 'eslint/no-magic-numbers': "off";
429
+ 'unicorn/prefer-modern-math-apis': "off";
430
+ 'eslint/no-use-before-define': "off";
431
+ 'eslint/constructor-super': "off";
432
+ 'eslint/getter-return': "off";
433
+ 'eslint/no-dupe-class-members': "off";
434
+ 'eslint/no-dupe-keys': "off";
435
+ 'eslint/no-new-native-nonconstructor': "off";
436
+ 'eslint/no-setter-return': "off";
437
+ 'eslint/no-this-before-super': "off";
438
+ 'eslint/no-undef': "off";
439
+ 'eslint/no-unreachable': "off";
440
+ 'eslint/no-with': "off";
441
+ 'unicorn/no-nested-ternary': "off";
442
+ 'oxc/no-optional-chaining': "off";
443
+ 'oxc/no-rest-spread-properties': "off";
444
+ 'oxc/no-async-await': "off";
445
+ };
446
+ }[];
447
+ plugins: ("react" | "unicorn" | "typescript" | "import")[];
448
+ jsPlugins: {
449
+ name: string;
450
+ specifier: string;
451
+ }[];
452
+ rules: {
453
+ 'react/rules-of-hooks': "error";
454
+ 'react/exhaustive-deps': "warn";
455
+ 'react-hooks-js/set-state-in-effect': "warn";
456
+ 'react/only-export-components': "error";
457
+ 'react-compiler-js/react-compiler': "error";
458
+ 'react/jsx-filename-extension': "off";
459
+ 'react/jsx-max-depth': "off";
460
+ 'react/no-multi-comp': "off";
461
+ 'react/jsx-props-no-spreading': "off";
462
+ 'react/jsx-no-literals': "off";
463
+ 'react/forbid-component-props': "off";
464
+ 'react/forbid-dom-props': "off";
465
+ };
466
+ overrides: {
467
+ files: string[];
468
+ rules: {
469
+ 'react/display-name': "error";
470
+ 'react/jsx-key': "error";
471
+ 'react/jsx-no-comment-textnodes': "error";
472
+ 'react/jsx-no-duplicate-props': "error";
473
+ 'react/jsx-no-target-blank': "off";
474
+ 'react/jsx-no-undef': "error";
475
+ 'react/no-children-prop': "error";
476
+ 'react/no-danger-with-children': "error";
477
+ 'react/no-direct-mutation-state': "error";
478
+ 'react/no-find-dom-node': "error";
479
+ 'react/no-is-mounted': "error";
480
+ 'react/no-render-return-value': "error";
481
+ 'react/no-string-refs': "error";
482
+ 'react/no-unescaped-entities': "error";
483
+ 'react/no-unknown-property': "off";
484
+ 'react/no-unsafe': "off";
485
+ 'react/react-in-jsx-scope': "off";
486
+ 'react/require-render-return': "error";
487
+ 'import/no-anonymous-default-export': "warn";
488
+ 'jsx-a11y/alt-text': ["warn", {
489
+ elements: "img"[];
490
+ img: string[];
491
+ }];
492
+ 'jsx-a11y/aria-props': "warn";
493
+ 'jsx-a11y/aria-proptypes': "warn";
494
+ 'jsx-a11y/aria-unsupported-elements': "warn";
495
+ 'jsx-a11y/role-has-required-aria-props': "warn";
496
+ 'jsx-a11y/role-supports-aria-props': "warn";
497
+ };
498
+ globals: {
499
+ AudioWorkletGlobalScope: "readonly";
500
+ AudioWorkletProcessor: "readonly";
501
+ currentFrame: "readonly";
502
+ currentTime: "readonly";
503
+ registerProcessor: "readonly";
504
+ sampleRate: "readonly";
505
+ WorkletGlobalScope: "readonly";
506
+ };
507
+ plugins: ("import" | "jsx-a11y")[];
508
+ env: {
509
+ browser: true;
510
+ node: true;
511
+ };
512
+ }[];
513
+ }[];
514
+ plugins: ("react" | "unicorn" | "typescript" | "import" | "nextjs")[];
515
+ rules: {
516
+ 'nextjs/google-font-display': "warn";
517
+ 'nextjs/google-font-preconnect': "warn";
518
+ 'nextjs/next-script-for-ga': "warn";
519
+ 'nextjs/no-async-client-component': "warn";
520
+ 'nextjs/no-before-interactive-script-outside-document': "warn";
521
+ 'nextjs/no-css-tags': "warn";
522
+ 'nextjs/no-head-element': "warn";
523
+ 'nextjs/no-html-link-for-pages': "error";
524
+ 'nextjs/no-page-custom-font': "warn";
525
+ 'nextjs/no-styled-jsx-in-document': "warn";
526
+ 'nextjs/no-sync-scripts': "error";
527
+ 'nextjs/no-title-in-document-head': "warn";
528
+ 'nextjs/no-typos': "warn";
529
+ 'nextjs/no-unwanted-polyfillio': "warn";
530
+ 'nextjs/inline-script-id': "error";
531
+ 'nextjs/no-assign-module-variable': "error";
532
+ 'nextjs/no-document-import-in-page': "error";
533
+ 'nextjs/no-duplicate-head': "error";
534
+ 'nextjs/no-head-import-in-document': "error";
535
+ 'nextjs/no-script-component-in-head': "error";
536
+ 'react/only-export-components': ["warn", {
537
+ allowExportNames: string[];
538
+ }];
539
+ };
540
+ ignorePatterns: string[];
541
+ overrides: ({
542
+ files: never[];
543
+ rules: {
544
+ 'react/only-export-components'?: undefined;
545
+ };
546
+ } | {
547
+ files: string[];
548
+ rules: {
549
+ 'react/only-export-components': "off";
550
+ };
551
+ })[];
552
+ };
553
+ export default _default;
16
554
  //# sourceMappingURL=next.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"next.d.ts","sourceRoot":"","sources":["../src/next.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,KAAK,YAAY,EAAE,MAAM,QAAQ,CAAC;AACzD,OAAO,EAAE,KAAK,YAAY,EAAe,MAAM,YAAY,CAAC;AAG5D,KAAK,WAAW,GAAG,YAAY,GAAG;IAChC;;;;;;;OAOG;IACH,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;CACvB,CAAC;AAIF,iBAAS,UAAU,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC,gBA4DjD;AAED,OAAO,EAAE,KAAK,YAAY,EAAE,YAAY,EAAE,UAAU,EAAE,CAAC"}
1
+ {"version":3,"file":"next.d.ts","sourceRoot":"","sources":["../src/next.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,KAAK,YAAY,EAAE,MAAM,QAAQ,CAAC;AACzD,OAAO,EAAE,KAAK,YAAY,EAAe,MAAM,YAAY,CAAC;AAE5D,KAAK,WAAW,GAAG,YAAY,GAAG;IAChC;;;;;;;OAOG;IACH,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;CACvB,CAAC;AAIF,iBAAS,UAAU,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0EjD;AAED,OAAO,EAAE,KAAK,YAAY,EAAE,YAAY,EAAE,UAAU,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEvD,wBAA4B"}