eslint-config-setup 0.3.3 → 0.5.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.
- package/README.md +27 -5
- package/dist/configs/0b23ff88.js +137 -42
- package/dist/configs/12c62446.js +154 -25
- package/dist/configs/196d687e.js +287 -70
- package/dist/configs/1c3f743c.js +157 -26
- package/dist/configs/2f6f3a82.js +308 -57
- package/dist/configs/4eb62e57.js +140 -40
- package/dist/configs/52762a42.js +280 -36
- package/dist/configs/532f50a4.js +485 -48
- package/dist/configs/5a302873.js +305 -56
- package/dist/configs/6bc0d588.js +456 -57
- package/dist/configs/91e82988.js +487 -48
- package/dist/configs/c2fecd3d.js +282 -33
- package/dist/configs/cde010b4.js +313 -17
- package/dist/configs/d537b683.js +458 -54
- package/dist/configs/db69ebb6.js +290 -68
- package/dist/configs/e4b137fa.js +311 -17
- package/dist/index.d.ts +13 -13
- package/dist/index.js +65 -67
- package/dist/index.js.map +1 -1
- package/dist/modules.d.ts +42 -41
- package/dist/modules.js +1183 -1106
- package/dist/modules.js.map +1 -1
- package/dist/oxlint-configs/3047b7d6.json +268 -145
- package/dist/oxlint-configs/58d5e03b.json +266 -144
- package/dist/oxlint-configs/78b40daa.json +301 -155
- package/dist/oxlint-configs/7ff0d87e.json +361 -237
- package/dist/oxlint-configs/85912bf0.json +362 -237
- package/dist/oxlint-configs/9dc42dc3.json +300 -155
- package/dist/oxlint-configs/d46cb9b7.json +397 -241
- package/dist/oxlint-configs/ef643c60.json +398 -241
- package/dist/{types-CAUUIuJR.d.ts → types-CAO1PbsB.d.ts} +7 -7
- package/package.json +42 -39
package/dist/configs/4eb62e57.js
CHANGED
|
@@ -7,7 +7,6 @@ import globals from "globals"
|
|
|
7
7
|
import importXPlugin from "eslint-plugin-import-x"
|
|
8
8
|
import jsdocPlugin from "eslint-plugin-jsdoc"
|
|
9
9
|
import jsonPlugin from "@eslint/json"
|
|
10
|
-
import jsxA11yPlugin from "eslint-plugin-jsx-a11y"
|
|
11
10
|
import nodePlugin from "eslint-plugin-n"
|
|
12
11
|
import oxlintPlugin from "eslint-plugin-oxlint"
|
|
13
12
|
import packageJsonPlugin from "eslint-plugin-package-json"
|
|
@@ -27,16 +26,16 @@ export default [
|
|
|
27
26
|
// TypeScript parser setup
|
|
28
27
|
...tseslint.configs.strictTypeChecked.slice(0, 2),
|
|
29
28
|
|
|
30
|
-
// Base rules — all effective rules for
|
|
29
|
+
// Base rules — all effective rules for TS plus shared JS/TS rules
|
|
31
30
|
{
|
|
32
31
|
name: "eslint-config-setup/base",
|
|
32
|
+
ignores: ["**/*.{md,mdx}"],
|
|
33
33
|
plugins: {
|
|
34
34
|
"@cspell": cspellPlugin,
|
|
35
35
|
"@typescript-eslint": tseslint.plugin,
|
|
36
36
|
"de-morgan": deMorganPlugin,
|
|
37
37
|
"import": importXPlugin,
|
|
38
38
|
"jsdoc": jsdocPlugin,
|
|
39
|
-
"jsx-a11y": jsxA11yPlugin,
|
|
40
39
|
"node": nodePlugin,
|
|
41
40
|
"perfectionist": perfectionistPlugin,
|
|
42
41
|
"regexp": regexpPlugin,
|
|
@@ -72,7 +71,6 @@ export default [
|
|
|
72
71
|
}
|
|
73
72
|
],
|
|
74
73
|
"@typescript-eslint/dot-notation": "error",
|
|
75
|
-
"@typescript-eslint/explicit-member-accessibility": "error",
|
|
76
74
|
"@typescript-eslint/member-ordering": [
|
|
77
75
|
"warn",
|
|
78
76
|
{
|
|
@@ -132,10 +130,6 @@ export default [
|
|
|
132
130
|
]
|
|
133
131
|
}
|
|
134
132
|
],
|
|
135
|
-
"@typescript-eslint/method-signature-style": [
|
|
136
|
-
"error",
|
|
137
|
-
"property"
|
|
138
|
-
],
|
|
139
133
|
"@typescript-eslint/naming-convention": [
|
|
140
134
|
"error",
|
|
141
135
|
{
|
|
@@ -375,7 +369,12 @@ export default [
|
|
|
375
369
|
"getBeforeSet"
|
|
376
370
|
],
|
|
377
371
|
"guard-for-in": "error",
|
|
378
|
-
"import/
|
|
372
|
+
"import/no-extraneous-dependencies": [
|
|
373
|
+
"error",
|
|
374
|
+
{
|
|
375
|
+
"includeTypes": true
|
|
376
|
+
}
|
|
377
|
+
],
|
|
379
378
|
"import/no-useless-path-segments": "error",
|
|
380
379
|
"jsdoc/check-alignment": "error",
|
|
381
380
|
"jsdoc/check-param-names": "error",
|
|
@@ -391,13 +390,9 @@ export default [
|
|
|
391
390
|
"jsdoc/reject-function-type": "error",
|
|
392
391
|
"jsdoc/require-next-type": "error",
|
|
393
392
|
"jsdoc/require-returns-check": "error",
|
|
394
|
-
"jsdoc/require-throws-type": "error",
|
|
395
393
|
"jsdoc/require-yields-check": "error",
|
|
396
|
-
"jsdoc/require-yields-type": "error",
|
|
397
394
|
"jsdoc/ts-no-empty-object-type": "error",
|
|
398
395
|
"jsdoc/valid-types": "error",
|
|
399
|
-
"jsx-a11y/interactive-supports-focus": "error",
|
|
400
|
-
"jsx-a11y/no-noninteractive-element-interactions": "error",
|
|
401
396
|
"logical-assignment-operators": [
|
|
402
397
|
"error",
|
|
403
398
|
"always",
|
|
@@ -420,7 +415,7 @@ export default [
|
|
|
420
415
|
"max-lines-per-function": [
|
|
421
416
|
"error",
|
|
422
417
|
{
|
|
423
|
-
"max":
|
|
418
|
+
"max": 100,
|
|
424
419
|
"skipBlankLines": true,
|
|
425
420
|
"skipComments": true
|
|
426
421
|
}
|
|
@@ -452,6 +447,7 @@ export default [
|
|
|
452
447
|
"no-extra-bind": "error",
|
|
453
448
|
"no-fallthrough": "error",
|
|
454
449
|
"no-implicit-coercion": "error",
|
|
450
|
+
"no-implicit-globals": "error",
|
|
455
451
|
"no-labels": "error",
|
|
456
452
|
"no-lone-blocks": "error",
|
|
457
453
|
"no-lonely-if": "error",
|
|
@@ -481,18 +477,29 @@ export default [
|
|
|
481
477
|
],
|
|
482
478
|
"no-script-url": "error",
|
|
483
479
|
"no-self-compare": "error",
|
|
484
|
-
"no-sequences":
|
|
480
|
+
"no-sequences": [
|
|
481
|
+
"error",
|
|
482
|
+
{
|
|
483
|
+
"allowInParentheses": false
|
|
484
|
+
}
|
|
485
|
+
],
|
|
485
486
|
"no-template-curly-in-string": "error",
|
|
486
487
|
"no-unmodified-loop-condition": "error",
|
|
487
488
|
"no-unneeded-ternary": "error",
|
|
488
489
|
"no-unreachable-loop": "error",
|
|
489
490
|
"no-useless-assignment": "error",
|
|
490
491
|
"no-useless-call": "error",
|
|
491
|
-
"no-useless-computed-key":
|
|
492
|
+
"no-useless-computed-key": [
|
|
493
|
+
"error",
|
|
494
|
+
{
|
|
495
|
+
"enforceForClassMembers": true
|
|
496
|
+
}
|
|
497
|
+
],
|
|
492
498
|
"no-useless-concat": "error",
|
|
493
499
|
"no-useless-return": "error",
|
|
494
500
|
"no-var": "error",
|
|
495
501
|
"no-warning-comments": "warn",
|
|
502
|
+
"node/handle-callback-err": "error",
|
|
496
503
|
"node/hashbang": "error",
|
|
497
504
|
"node/no-deprecated-api": "error",
|
|
498
505
|
"node/no-exports-assign": "error",
|
|
@@ -521,10 +528,12 @@ export default [
|
|
|
521
528
|
],
|
|
522
529
|
"node/prefer-promises/dns": "error",
|
|
523
530
|
"node/prefer-promises/fs": "error",
|
|
531
|
+
"node/process-exit-as-throw": "error",
|
|
524
532
|
"object-shorthand": [
|
|
525
533
|
"error",
|
|
526
534
|
"always",
|
|
527
535
|
{
|
|
536
|
+
"avoidExplicitReturnArrows": true,
|
|
528
537
|
"avoidQuotes": true
|
|
529
538
|
}
|
|
530
539
|
],
|
|
@@ -559,14 +568,10 @@ export default [
|
|
|
559
568
|
"allowNamedFunctions": true
|
|
560
569
|
}
|
|
561
570
|
],
|
|
562
|
-
"prefer-const":
|
|
563
|
-
"error",
|
|
564
|
-
{
|
|
565
|
-
"destructuring": "all"
|
|
566
|
-
}
|
|
567
|
-
],
|
|
571
|
+
"prefer-const": "error",
|
|
568
572
|
"prefer-exponentiation-operator": "error",
|
|
569
573
|
"prefer-named-capture-group": "error",
|
|
574
|
+
"prefer-numeric-literals": "error",
|
|
570
575
|
"prefer-object-has-own": "error",
|
|
571
576
|
"prefer-object-spread": "error",
|
|
572
577
|
"prefer-regex-literals": "error",
|
|
@@ -702,16 +707,9 @@ export default [
|
|
|
702
707
|
"sonarjs/public-static-readonly": "error",
|
|
703
708
|
"sonarjs/reduce-initial-value": "error",
|
|
704
709
|
"symbol-description": "error",
|
|
705
|
-
"unicorn/custom-error-definition": "error",
|
|
706
710
|
"unicorn/no-array-push-push": "error",
|
|
711
|
+
"unicorn/no-for-each": "error",
|
|
707
712
|
"unicorn/no-for-loop": "error",
|
|
708
|
-
"unicorn/prefer-export-from": [
|
|
709
|
-
"error",
|
|
710
|
-
{
|
|
711
|
-
"ignoreUsedVariables": true
|
|
712
|
-
}
|
|
713
|
-
],
|
|
714
|
-
"unicorn/prefer-import-meta-properties": "error",
|
|
715
713
|
"unicorn/prefer-switch": [
|
|
716
714
|
"error",
|
|
717
715
|
{
|
|
@@ -731,12 +729,16 @@ export default [
|
|
|
731
729
|
rules: {
|
|
732
730
|
"@typescript-eslint/await-thenable": "off",
|
|
733
731
|
"@typescript-eslint/consistent-return": "off",
|
|
732
|
+
"@typescript-eslint/consistent-type-exports": "off",
|
|
734
733
|
"@typescript-eslint/dot-notation": "off",
|
|
734
|
+
"@typescript-eslint/member-ordering": "off",
|
|
735
|
+
"@typescript-eslint/naming-convention": "off",
|
|
735
736
|
"@typescript-eslint/no-array-delete": "off",
|
|
736
737
|
"@typescript-eslint/no-base-to-string": "off",
|
|
737
738
|
"@typescript-eslint/no-confusing-void-expression": "off",
|
|
738
739
|
"@typescript-eslint/no-deprecated": "off",
|
|
739
740
|
"@typescript-eslint/no-duplicate-type-constituents": "off",
|
|
741
|
+
"@typescript-eslint/no-floating-promises": "off",
|
|
740
742
|
"@typescript-eslint/no-for-in-array": "off",
|
|
741
743
|
"@typescript-eslint/no-implied-eval": "off",
|
|
742
744
|
"@typescript-eslint/no-meaningless-void-operator": "off",
|
|
@@ -758,6 +760,7 @@ export default [
|
|
|
758
760
|
"@typescript-eslint/no-unsafe-enum-comparison": "off",
|
|
759
761
|
"@typescript-eslint/no-unsafe-member-access": "off",
|
|
760
762
|
"@typescript-eslint/no-unsafe-return": "off",
|
|
763
|
+
"@typescript-eslint/no-unsafe-type-assertion": "off",
|
|
761
764
|
"@typescript-eslint/no-unsafe-unary-minus": "off",
|
|
762
765
|
"@typescript-eslint/no-useless-default-assignment": "off",
|
|
763
766
|
"@typescript-eslint/non-nullable-type-assertion-style": "off",
|
|
@@ -768,26 +771,44 @@ export default [
|
|
|
768
771
|
"@typescript-eslint/prefer-nullish-coalescing": "off",
|
|
769
772
|
"@typescript-eslint/prefer-optional-chain": "off",
|
|
770
773
|
"@typescript-eslint/prefer-promise-reject-errors": "off",
|
|
774
|
+
"@typescript-eslint/prefer-readonly": "off",
|
|
771
775
|
"@typescript-eslint/prefer-readonly-parameter-types": "off",
|
|
772
776
|
"@typescript-eslint/prefer-reduce-type-parameter": "off",
|
|
773
777
|
"@typescript-eslint/prefer-regexp-exec": "off",
|
|
774
778
|
"@typescript-eslint/prefer-return-this-type": "off",
|
|
775
779
|
"@typescript-eslint/prefer-string-starts-ends-with": "off",
|
|
780
|
+
"@typescript-eslint/promise-function-async": "off",
|
|
776
781
|
"@typescript-eslint/related-getter-setter-pairs": "off",
|
|
782
|
+
"@typescript-eslint/require-array-sort-compare": "off",
|
|
777
783
|
"@typescript-eslint/require-await": "off",
|
|
778
784
|
"@typescript-eslint/restrict-plus-operands": "off",
|
|
779
785
|
"@typescript-eslint/restrict-template-expressions": "off",
|
|
780
786
|
"@typescript-eslint/return-await": "off",
|
|
781
787
|
"@typescript-eslint/strict-boolean-expressions": "off",
|
|
782
788
|
"@typescript-eslint/strict-void-return": "off",
|
|
789
|
+
"@typescript-eslint/switch-exhaustiveness-check": "off",
|
|
783
790
|
"@typescript-eslint/unbound-method": "off",
|
|
784
791
|
"@typescript-eslint/use-unknown-in-catch-callback-variable": "off",
|
|
785
|
-
"
|
|
792
|
+
"dot-notation": "off",
|
|
793
|
+
"no-array-constructor": "off",
|
|
786
794
|
"no-dupe-args": "error",
|
|
795
|
+
"no-empty-function": "off",
|
|
796
|
+
"no-implied-eval": "off",
|
|
787
797
|
"no-new-symbol": "off",
|
|
788
798
|
"no-redeclare": "error",
|
|
799
|
+
"no-return-await": "off",
|
|
800
|
+
"no-shadow": "off",
|
|
801
|
+
"no-throw-literal": "off",
|
|
789
802
|
"no-undef": "error",
|
|
790
|
-
"no-
|
|
803
|
+
"no-useless-constructor": "off",
|
|
804
|
+
"prefer-const": [
|
|
805
|
+
"error",
|
|
806
|
+
{
|
|
807
|
+
"destructuring": "all"
|
|
808
|
+
}
|
|
809
|
+
],
|
|
810
|
+
"prefer-promise-reject-errors": "off",
|
|
811
|
+
"require-await": "off"
|
|
791
812
|
},
|
|
792
813
|
},
|
|
793
814
|
|
|
@@ -834,8 +855,7 @@ export default [
|
|
|
834
855
|
"vitest/prefer-strict-equal": "error",
|
|
835
856
|
"vitest/prefer-to-be": "error",
|
|
836
857
|
"vitest/prefer-to-have-length": "error",
|
|
837
|
-
"vitest/require-top-level-describe": "error"
|
|
838
|
-
"vitest/valid-title": "error"
|
|
858
|
+
"vitest/require-top-level-describe": "error"
|
|
839
859
|
},
|
|
840
860
|
},
|
|
841
861
|
|
|
@@ -1016,7 +1036,87 @@ export default [
|
|
|
1016
1036
|
// Markdown/MDX code block linting
|
|
1017
1037
|
{
|
|
1018
1038
|
...mdxPlugin.flatCodeBlocks,
|
|
1039
|
+
languageOptions: {
|
|
1040
|
+
...mdxPlugin.flatCodeBlocks.languageOptions,
|
|
1041
|
+
parserOptions: {
|
|
1042
|
+
...mdxPlugin.flatCodeBlocks.languageOptions?.parserOptions,
|
|
1043
|
+
projectService: false,
|
|
1044
|
+
},
|
|
1045
|
+
},
|
|
1019
1046
|
rules: {
|
|
1047
|
+
...{
|
|
1048
|
+
"@typescript-eslint/await-thenable": "off",
|
|
1049
|
+
"@typescript-eslint/consistent-type-exports": "off",
|
|
1050
|
+
"@typescript-eslint/dot-notation": "off",
|
|
1051
|
+
"@typescript-eslint/member-ordering": "off",
|
|
1052
|
+
"@typescript-eslint/naming-convention": "off",
|
|
1053
|
+
"@typescript-eslint/no-array-delete": "off",
|
|
1054
|
+
"@typescript-eslint/no-base-to-string": "off",
|
|
1055
|
+
"@typescript-eslint/no-confusing-void-expression": "off",
|
|
1056
|
+
"@typescript-eslint/no-deprecated": "off",
|
|
1057
|
+
"@typescript-eslint/no-duplicate-type-constituents": "off",
|
|
1058
|
+
"@typescript-eslint/no-floating-promises": "off",
|
|
1059
|
+
"@typescript-eslint/no-for-in-array": "off",
|
|
1060
|
+
"@typescript-eslint/no-implied-eval": "off",
|
|
1061
|
+
"@typescript-eslint/no-meaningless-void-operator": "off",
|
|
1062
|
+
"@typescript-eslint/no-misused-promises": "off",
|
|
1063
|
+
"@typescript-eslint/no-misused-spread": "off",
|
|
1064
|
+
"@typescript-eslint/no-mixed-enums": "off",
|
|
1065
|
+
"@typescript-eslint/no-redundant-type-constituents": "off",
|
|
1066
|
+
"@typescript-eslint/no-unnecessary-boolean-literal-compare": "off",
|
|
1067
|
+
"@typescript-eslint/no-unnecessary-condition": "off",
|
|
1068
|
+
"@typescript-eslint/no-unnecessary-qualifier": "off",
|
|
1069
|
+
"@typescript-eslint/no-unnecessary-template-expression": "off",
|
|
1070
|
+
"@typescript-eslint/no-unnecessary-type-arguments": "off",
|
|
1071
|
+
"@typescript-eslint/no-unnecessary-type-assertion": "off",
|
|
1072
|
+
"@typescript-eslint/no-unnecessary-type-conversion": "off",
|
|
1073
|
+
"@typescript-eslint/no-unnecessary-type-parameters": "off",
|
|
1074
|
+
"@typescript-eslint/no-unsafe-argument": "off",
|
|
1075
|
+
"@typescript-eslint/no-unsafe-assignment": "off",
|
|
1076
|
+
"@typescript-eslint/no-unsafe-call": "off",
|
|
1077
|
+
"@typescript-eslint/no-unsafe-enum-comparison": "off",
|
|
1078
|
+
"@typescript-eslint/no-unsafe-member-access": "off",
|
|
1079
|
+
"@typescript-eslint/no-unsafe-return": "off",
|
|
1080
|
+
"@typescript-eslint/no-unsafe-type-assertion": "off",
|
|
1081
|
+
"@typescript-eslint/no-unsafe-unary-minus": "off",
|
|
1082
|
+
"@typescript-eslint/no-useless-default-assignment": "off",
|
|
1083
|
+
"@typescript-eslint/non-nullable-type-assertion-style": "off",
|
|
1084
|
+
"@typescript-eslint/only-throw-error": "off",
|
|
1085
|
+
"@typescript-eslint/prefer-find": "off",
|
|
1086
|
+
"@typescript-eslint/prefer-includes": "off",
|
|
1087
|
+
"@typescript-eslint/prefer-nullish-coalescing": "off",
|
|
1088
|
+
"@typescript-eslint/prefer-optional-chain": "off",
|
|
1089
|
+
"@typescript-eslint/prefer-promise-reject-errors": "off",
|
|
1090
|
+
"@typescript-eslint/prefer-readonly": "off",
|
|
1091
|
+
"@typescript-eslint/prefer-reduce-type-parameter": "off",
|
|
1092
|
+
"@typescript-eslint/prefer-regexp-exec": "off",
|
|
1093
|
+
"@typescript-eslint/prefer-return-this-type": "off",
|
|
1094
|
+
"@typescript-eslint/prefer-string-starts-ends-with": "off",
|
|
1095
|
+
"@typescript-eslint/promise-function-async": "off",
|
|
1096
|
+
"@typescript-eslint/related-getter-setter-pairs": "off",
|
|
1097
|
+
"@typescript-eslint/require-array-sort-compare": "off",
|
|
1098
|
+
"@typescript-eslint/require-await": "off",
|
|
1099
|
+
"@typescript-eslint/restrict-plus-operands": "off",
|
|
1100
|
+
"@typescript-eslint/restrict-template-expressions": "off",
|
|
1101
|
+
"@typescript-eslint/return-await": "off",
|
|
1102
|
+
"@typescript-eslint/strict-boolean-expressions": "off",
|
|
1103
|
+
"@typescript-eslint/strict-void-return": "off",
|
|
1104
|
+
"@typescript-eslint/switch-exhaustiveness-check": "off",
|
|
1105
|
+
"@typescript-eslint/unbound-method": "off",
|
|
1106
|
+
"@typescript-eslint/use-unknown-in-catch-callback-variable": "off",
|
|
1107
|
+
"dot-notation": "off",
|
|
1108
|
+
"no-array-constructor": "off",
|
|
1109
|
+
"no-empty-function": "off",
|
|
1110
|
+
"no-implied-eval": "off",
|
|
1111
|
+
"no-return-await": "off",
|
|
1112
|
+
"no-shadow": "off",
|
|
1113
|
+
"no-throw-literal": "off",
|
|
1114
|
+
"no-useless-constructor": "off",
|
|
1115
|
+
"prefer-promise-reject-errors": "off",
|
|
1116
|
+
"require-await": "off",
|
|
1117
|
+
"strict": "off",
|
|
1118
|
+
"unicode-bom": "off"
|
|
1119
|
+
},
|
|
1020
1120
|
...mdxPlugin.flatCodeBlocks.rules,
|
|
1021
1121
|
"eol-last": "off",
|
|
1022
1122
|
"no-undef": "off",
|
|
@@ -1029,11 +1129,11 @@ export default [
|
|
|
1029
1129
|
},
|
|
1030
1130
|
|
|
1031
1131
|
// OxLint integration — disables rules already covered by OxLint
|
|
1032
|
-
...[oxlintPlugin.configs["flat/recommended"]].flat().map((c) => ({ name: "eslint-config-setup/oxlint"
|
|
1033
|
-
...[oxlintPlugin.configs["flat/node"]].flat().map((c) => ({ name: "eslint-config-setup/oxlint-node"
|
|
1034
|
-
...[oxlintPlugin.configs["flat/typescript"]].flat().map((c) => ({ name: "eslint-config-setup/oxlint-typescript"
|
|
1035
|
-
...[oxlintPlugin.configs["flat/unicorn"]].flat().map((c) => ({ name: "eslint-config-setup/oxlint-unicorn"
|
|
1036
|
-
...[oxlintPlugin.configs["flat/import"]].flat().map((c) => ({ name: "eslint-config-setup/oxlint-import"
|
|
1037
|
-
...[oxlintPlugin.configs["flat/jsdoc"]].flat().map((c) => ({ name: "eslint-config-setup/oxlint-jsdoc"
|
|
1132
|
+
...[oxlintPlugin.configs["flat/recommended"]].flat().map((c, index, array) => ({ ...c, name: "eslint-config-setup/oxlint" + (array.length > 1 ? "-" + (index + 1) : "") })),
|
|
1133
|
+
...[oxlintPlugin.configs["flat/node"]].flat().map((c, index, array) => ({ ...c, name: "eslint-config-setup/oxlint-node" + (array.length > 1 ? "-" + (index + 1) : "") })),
|
|
1134
|
+
...[oxlintPlugin.configs["flat/typescript"]].flat().map((c, index, array) => ({ ...c, name: "eslint-config-setup/oxlint-typescript" + (array.length > 1 ? "-" + (index + 1) : "") })),
|
|
1135
|
+
...[oxlintPlugin.configs["flat/unicorn"]].flat().map((c, index, array) => ({ ...c, name: "eslint-config-setup/oxlint-unicorn" + (array.length > 1 ? "-" + (index + 1) : "") })),
|
|
1136
|
+
...[oxlintPlugin.configs["flat/import"]].flat().map((c, index, array) => ({ ...c, name: "eslint-config-setup/oxlint-import" + (array.length > 1 ? "-" + (index + 1) : "") })),
|
|
1137
|
+
...[oxlintPlugin.configs["flat/jsdoc"]].flat().map((c, index, array) => ({ ...c, name: "eslint-config-setup/oxlint-jsdoc" + (array.length > 1 ? "-" + (index + 1) : "") })),
|
|
1038
1138
|
|
|
1039
1139
|
]
|