@4mbl/lint 0.0.0-alpha.f2a34bd → 0.0.0-alpha.f95bc32

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