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

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