eslint-config-setup 0.3.2 → 0.4.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.
@@ -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 packageJsonPlugin from "eslint-plugin-package-json"
13
12
  import perfectionistPlugin from "eslint-plugin-perfectionist"
@@ -26,16 +25,16 @@ export default [
26
25
  // TypeScript parser setup
27
26
  ...tseslint.configs.strictTypeChecked.slice(0, 2),
28
27
 
29
- // Base rules — all effective rules for *.ts files
28
+ // Base rules — all effective rules for TS plus shared JS/TS rules
30
29
  {
31
30
  name: "eslint-config-setup/base",
31
+ ignores: ["**/*.{md,mdx}"],
32
32
  plugins: {
33
33
  "@cspell": cspellPlugin,
34
34
  "@typescript-eslint": tseslint.plugin,
35
35
  "de-morgan": deMorganPlugin,
36
36
  "import": importXPlugin,
37
37
  "jsdoc": jsdocPlugin,
38
- "jsx-a11y": jsxA11yPlugin,
39
38
  "node": nodePlugin,
40
39
  "perfectionist": perfectionistPlugin,
41
40
  "regexp": regexpPlugin,
@@ -74,7 +73,7 @@ export default [
74
73
  "@typescript-eslint/ban-ts-comment": [
75
74
  "error",
76
75
  {
77
- "minimumDescriptionLength": 10
76
+ "ts-expect-error": "allow-with-description"
78
77
  }
79
78
  ],
80
79
  "@typescript-eslint/ban-tslint-comment": "error",
@@ -299,12 +298,7 @@ export default [
299
298
  "@typescript-eslint/no-dynamic-delete": "error",
300
299
  "@typescript-eslint/no-empty-function": "error",
301
300
  "@typescript-eslint/no-empty-object-type": "error",
302
- "@typescript-eslint/no-explicit-any": [
303
- "error",
304
- {
305
- "fixToUnknown": true
306
- }
307
- ],
301
+ "@typescript-eslint/no-explicit-any": "error",
308
302
  "@typescript-eslint/no-extra-non-null-assertion": "error",
309
303
  "@typescript-eslint/no-extraneous-class": "error",
310
304
  "@typescript-eslint/no-floating-promises": [
@@ -488,7 +482,10 @@ export default [
488
482
  "de-morgan/no-negated-conjunction": "error",
489
483
  "de-morgan/no-negated-disjunction": "error",
490
484
  "default-case-last": "error",
491
- "eqeqeq": "error",
485
+ "eqeqeq": [
486
+ "error",
487
+ "smart"
488
+ ],
492
489
  "for-direction": "error",
493
490
  "grouped-accessor-pairs": [
494
491
  "error",
@@ -504,17 +501,35 @@ export default [
504
501
  "maxDepth": 3
505
502
  }
506
503
  ],
507
- "import/no-duplicates": [
504
+ "import/no-duplicates": "error",
505
+ "import/no-empty-named-blocks": "error",
506
+ "import/no-extraneous-dependencies": [
508
507
  "error",
509
508
  {
510
- "prefer-inline": true
509
+ "includeTypes": true
511
510
  }
512
511
  ],
513
- "import/no-empty-named-blocks": "error",
514
512
  "import/no-mutable-exports": "error",
515
513
  "import/no-named-as-default": "error",
516
514
  "import/no-named-as-default-member": "error",
515
+ "import/no-named-default": "error",
517
516
  "import/no-self-import": "error",
517
+ "import/no-unassigned-import": [
518
+ "error",
519
+ {
520
+ "allow": [
521
+ "@babel/polyfill",
522
+ "**/register",
523
+ "**/register.*",
524
+ "**/register/**",
525
+ "**/register/**.*",
526
+ "**/*.css",
527
+ "**/*.scss",
528
+ "**/*.sass",
529
+ "**/*.less"
530
+ ]
531
+ }
532
+ ],
518
533
  "import/no-useless-path-segments": "error",
519
534
  "jsdoc/check-access": "error",
520
535
  "jsdoc/check-alignment": "error",
@@ -549,9 +564,6 @@ export default [
549
564
  "jsdoc/require-yields-type": "error",
550
565
  "jsdoc/ts-no-empty-object-type": "error",
551
566
  "jsdoc/valid-types": "error",
552
- "jsx-a11y/interactive-supports-focus": "error",
553
- "jsx-a11y/no-noninteractive-element-interactions": "error",
554
- "jsx-a11y/no-static-element-interactions": "error",
555
567
  "logical-assignment-operators": [
556
568
  "error",
557
569
  "always",
@@ -574,7 +586,7 @@ export default [
574
586
  "max-lines-per-function": [
575
587
  "error",
576
588
  {
577
- "max": 50,
589
+ "max": 100,
578
590
  "skipBlankLines": true,
579
591
  "skipComments": true
580
592
  }
@@ -623,6 +635,7 @@ export default [
623
635
  "no-fallthrough": "error",
624
636
  "no-global-assign": "error",
625
637
  "no-implicit-coercion": "error",
638
+ "no-implicit-globals": "error",
626
639
  "no-irregular-whitespace": "error",
627
640
  "no-iterator": "error",
628
641
  "no-labels": "error",
@@ -658,7 +671,12 @@ export default [
658
671
  "no-script-url": "error",
659
672
  "no-self-assign": "error",
660
673
  "no-self-compare": "error",
661
- "no-sequences": "error",
674
+ "no-sequences": [
675
+ "error",
676
+ {
677
+ "allowInParentheses": false
678
+ }
679
+ ],
662
680
  "no-shadow-restricted-names": "error",
663
681
  "no-sparse-arrays": "error",
664
682
  "no-template-curly-in-string": "error",
@@ -673,13 +691,19 @@ export default [
673
691
  "no-useless-assignment": "error",
674
692
  "no-useless-call": "error",
675
693
  "no-useless-catch": "error",
676
- "no-useless-computed-key": "error",
694
+ "no-useless-computed-key": [
695
+ "error",
696
+ {
697
+ "enforceForClassMembers": true
698
+ }
699
+ ],
677
700
  "no-useless-concat": "error",
678
701
  "no-useless-escape": "error",
679
702
  "no-useless-rename": "error",
680
703
  "no-useless-return": "error",
681
704
  "no-var": "error",
682
705
  "no-warning-comments": "warn",
706
+ "node/handle-callback-err": "error",
683
707
  "node/hashbang": "error",
684
708
  "node/no-deprecated-api": "error",
685
709
  "node/no-exports-assign": "error",
@@ -708,10 +732,12 @@ export default [
708
732
  ],
709
733
  "node/prefer-promises/dns": "error",
710
734
  "node/prefer-promises/fs": "error",
735
+ "node/process-exit-as-throw": "error",
711
736
  "object-shorthand": [
712
737
  "error",
713
738
  "always",
714
739
  {
740
+ "avoidExplicitReturnArrows": true,
715
741
  "avoidQuotes": true
716
742
  }
717
743
  ],
@@ -746,14 +772,10 @@ export default [
746
772
  "allowNamedFunctions": true
747
773
  }
748
774
  ],
749
- "prefer-const": [
750
- "error",
751
- {
752
- "destructuring": "all"
753
- }
754
- ],
775
+ "prefer-const": "error",
755
776
  "prefer-exponentiation-operator": "error",
756
777
  "prefer-named-capture-group": "error",
778
+ "prefer-numeric-literals": "error",
757
779
  "prefer-object-has-own": "error",
758
780
  "prefer-object-spread": "error",
759
781
  "prefer-regex-literals": "error",
@@ -908,7 +930,8 @@ export default [
908
930
  {
909
931
  "cases": {
910
932
  "camelCase": true,
911
- "pascalCase": true
933
+ "pascalCase": true,
934
+ "kebabCase": true
912
935
  }
913
936
  }
914
937
  ],
@@ -942,7 +965,12 @@ export default [
942
965
  "unicorn/no-useless-promise-resolve-reject": "error",
943
966
  "unicorn/no-useless-spread": "error",
944
967
  "unicorn/no-useless-switch-case": "error",
945
- "unicorn/no-useless-undefined": "error",
968
+ "unicorn/no-useless-undefined": [
969
+ "warn",
970
+ {
971
+ "checkArguments": false
972
+ }
973
+ ],
946
974
  "unicorn/no-zero-fractions": "error",
947
975
  "unicorn/numeric-separators-style": "error",
948
976
  "unicorn/prefer-array-find": "error",
@@ -953,6 +981,7 @@ export default [
953
981
  "unicorn/prefer-at": "error",
954
982
  "unicorn/prefer-date-now": "error",
955
983
  "unicorn/prefer-default-parameters": "error",
984
+ "unicorn/prefer-dom-node-dataset": "error",
956
985
  "unicorn/prefer-export-from": [
957
986
  "error",
958
987
  {
@@ -999,8 +1028,19 @@ export default [
999
1028
  "unicorn/text-encoding-identifier-case": "error",
1000
1029
  "unicorn/throw-new-error": "error",
1001
1030
  "unused-imports/no-unused-imports": "error",
1002
- "use-isnan": "error",
1003
- "valid-typeof": "error",
1031
+ "use-isnan": [
1032
+ "error",
1033
+ {
1034
+ "enforceForIndexOf": true,
1035
+ "enforceForSwitchCase": true
1036
+ }
1037
+ ],
1038
+ "valid-typeof": [
1039
+ "error",
1040
+ {
1041
+ "requireStringLiterals": true
1042
+ }
1043
+ ],
1004
1044
  "yoda": "error"
1005
1045
  },
1006
1046
  },
@@ -1010,78 +1050,156 @@ export default [
1010
1050
  name: "eslint-config-setup/js-compat",
1011
1051
  files: ["**/*.{js,mjs,cjs}"],
1012
1052
  rules: {
1053
+ "@typescript-eslint/adjacent-overload-signatures": "off",
1054
+ "@typescript-eslint/array-type": "off",
1013
1055
  "@typescript-eslint/await-thenable": "off",
1056
+ "@typescript-eslint/ban-ts-comment": "off",
1057
+ "@typescript-eslint/ban-tslint-comment": "off",
1058
+ "@typescript-eslint/class-literal-property-style": "off",
1059
+ "@typescript-eslint/consistent-generic-constructors": "off",
1060
+ "@typescript-eslint/consistent-indexed-object-style": "off",
1014
1061
  "@typescript-eslint/consistent-return": "off",
1062
+ "@typescript-eslint/consistent-type-assertions": "off",
1063
+ "@typescript-eslint/consistent-type-definitions": "off",
1064
+ "@typescript-eslint/consistent-type-exports": "off",
1065
+ "@typescript-eslint/consistent-type-imports": "off",
1015
1066
  "@typescript-eslint/dot-notation": "off",
1067
+ "@typescript-eslint/explicit-function-return-type": "off",
1068
+ "@typescript-eslint/explicit-member-accessibility": "off",
1069
+ "@typescript-eslint/member-ordering": "off",
1070
+ "@typescript-eslint/method-signature-style": "off",
1071
+ "@typescript-eslint/naming-convention": "off",
1072
+ "@typescript-eslint/no-array-constructor": "off",
1016
1073
  "@typescript-eslint/no-array-delete": "off",
1017
1074
  "@typescript-eslint/no-base-to-string": "off",
1075
+ "@typescript-eslint/no-confusing-non-null-assertion": "off",
1018
1076
  "@typescript-eslint/no-confusing-void-expression": "off",
1019
1077
  "@typescript-eslint/no-deprecated": "off",
1078
+ "@typescript-eslint/no-duplicate-enum-values": "off",
1020
1079
  "@typescript-eslint/no-duplicate-type-constituents": "off",
1080
+ "@typescript-eslint/no-dynamic-delete": "off",
1081
+ "@typescript-eslint/no-empty-function": "off",
1082
+ "@typescript-eslint/no-empty-object-type": "off",
1083
+ "@typescript-eslint/no-explicit-any": "off",
1084
+ "@typescript-eslint/no-extra-non-null-assertion": "off",
1085
+ "@typescript-eslint/no-extraneous-class": "off",
1086
+ "@typescript-eslint/no-floating-promises": "off",
1021
1087
  "@typescript-eslint/no-for-in-array": "off",
1022
1088
  "@typescript-eslint/no-implied-eval": "off",
1089
+ "@typescript-eslint/no-import-type-side-effects": "off",
1090
+ "@typescript-eslint/no-inferrable-types": "off",
1091
+ "@typescript-eslint/no-invalid-void-type": "off",
1092
+ "@typescript-eslint/no-magic-numbers": "off",
1023
1093
  "@typescript-eslint/no-meaningless-void-operator": "off",
1094
+ "@typescript-eslint/no-misused-new": "off",
1024
1095
  "@typescript-eslint/no-misused-promises": "off",
1025
1096
  "@typescript-eslint/no-misused-spread": "off",
1026
1097
  "@typescript-eslint/no-mixed-enums": "off",
1098
+ "@typescript-eslint/no-namespace": "off",
1099
+ "@typescript-eslint/no-non-null-asserted-nullish-coalescing": "off",
1100
+ "@typescript-eslint/no-non-null-asserted-optional-chain": "off",
1101
+ "@typescript-eslint/no-non-null-assertion": "off",
1027
1102
  "@typescript-eslint/no-redundant-type-constituents": "off",
1103
+ "@typescript-eslint/no-require-imports": "off",
1104
+ "@typescript-eslint/no-shadow": "off",
1105
+ "@typescript-eslint/no-this-alias": "off",
1028
1106
  "@typescript-eslint/no-unnecessary-boolean-literal-compare": "off",
1029
1107
  "@typescript-eslint/no-unnecessary-condition": "off",
1108
+ "@typescript-eslint/no-unnecessary-parameter-property-assignment": "off",
1030
1109
  "@typescript-eslint/no-unnecessary-qualifier": "off",
1031
1110
  "@typescript-eslint/no-unnecessary-template-expression": "off",
1032
1111
  "@typescript-eslint/no-unnecessary-type-arguments": "off",
1033
1112
  "@typescript-eslint/no-unnecessary-type-assertion": "off",
1113
+ "@typescript-eslint/no-unnecessary-type-constraint": "off",
1034
1114
  "@typescript-eslint/no-unnecessary-type-conversion": "off",
1035
1115
  "@typescript-eslint/no-unnecessary-type-parameters": "off",
1036
1116
  "@typescript-eslint/no-unsafe-argument": "off",
1037
1117
  "@typescript-eslint/no-unsafe-assignment": "off",
1038
1118
  "@typescript-eslint/no-unsafe-call": "off",
1119
+ "@typescript-eslint/no-unsafe-declaration-merging": "off",
1039
1120
  "@typescript-eslint/no-unsafe-enum-comparison": "off",
1121
+ "@typescript-eslint/no-unsafe-function-type": "off",
1040
1122
  "@typescript-eslint/no-unsafe-member-access": "off",
1041
1123
  "@typescript-eslint/no-unsafe-return": "off",
1124
+ "@typescript-eslint/no-unsafe-type-assertion": "off",
1042
1125
  "@typescript-eslint/no-unsafe-unary-minus": "off",
1126
+ "@typescript-eslint/no-unused-expressions": "off",
1127
+ "@typescript-eslint/no-unused-vars": "off",
1128
+ "@typescript-eslint/no-useless-constructor": "off",
1043
1129
  "@typescript-eslint/no-useless-default-assignment": "off",
1130
+ "@typescript-eslint/no-useless-empty-export": "off",
1131
+ "@typescript-eslint/no-wrapper-object-types": "off",
1044
1132
  "@typescript-eslint/non-nullable-type-assertion-style": "off",
1045
1133
  "@typescript-eslint/only-throw-error": "off",
1134
+ "@typescript-eslint/prefer-as-const": "off",
1046
1135
  "@typescript-eslint/prefer-destructuring": "off",
1136
+ "@typescript-eslint/prefer-enum-initializers": "off",
1047
1137
  "@typescript-eslint/prefer-find": "off",
1138
+ "@typescript-eslint/prefer-for-of": "off",
1139
+ "@typescript-eslint/prefer-function-type": "off",
1048
1140
  "@typescript-eslint/prefer-includes": "off",
1141
+ "@typescript-eslint/prefer-literal-enum-member": "off",
1142
+ "@typescript-eslint/prefer-namespace-keyword": "off",
1049
1143
  "@typescript-eslint/prefer-nullish-coalescing": "off",
1050
1144
  "@typescript-eslint/prefer-optional-chain": "off",
1051
1145
  "@typescript-eslint/prefer-promise-reject-errors": "off",
1146
+ "@typescript-eslint/prefer-readonly": "off",
1052
1147
  "@typescript-eslint/prefer-readonly-parameter-types": "off",
1053
1148
  "@typescript-eslint/prefer-reduce-type-parameter": "off",
1054
1149
  "@typescript-eslint/prefer-regexp-exec": "off",
1055
1150
  "@typescript-eslint/prefer-return-this-type": "off",
1056
1151
  "@typescript-eslint/prefer-string-starts-ends-with": "off",
1152
+ "@typescript-eslint/promise-function-async": "off",
1057
1153
  "@typescript-eslint/related-getter-setter-pairs": "off",
1154
+ "@typescript-eslint/require-array-sort-compare": "off",
1058
1155
  "@typescript-eslint/require-await": "off",
1059
1156
  "@typescript-eslint/restrict-plus-operands": "off",
1060
1157
  "@typescript-eslint/restrict-template-expressions": "off",
1061
1158
  "@typescript-eslint/return-await": "off",
1062
1159
  "@typescript-eslint/strict-boolean-expressions": "off",
1063
1160
  "@typescript-eslint/strict-void-return": "off",
1161
+ "@typescript-eslint/switch-exhaustiveness-check": "off",
1162
+ "@typescript-eslint/triple-slash-reference": "off",
1064
1163
  "@typescript-eslint/unbound-method": "off",
1164
+ "@typescript-eslint/unified-signatures": "off",
1065
1165
  "@typescript-eslint/use-unknown-in-catch-callback-variable": "off",
1066
1166
  "constructor-super": "error",
1167
+ "dot-notation": "off",
1067
1168
  "getter-return": "error",
1169
+ "no-array-constructor": "off",
1068
1170
  "no-class-assign": "error",
1069
1171
  "no-const-assign": "error",
1070
1172
  "no-dupe-args": "error",
1071
1173
  "no-dupe-class-members": "error",
1072
1174
  "no-dupe-keys": "error",
1175
+ "no-empty-function": "off",
1073
1176
  "no-func-assign": "error",
1177
+ "no-implied-eval": "off",
1074
1178
  "no-import-assign": "error",
1075
1179
  "no-new-native-nonconstructor": "error",
1076
1180
  "no-new-symbol": "off",
1077
1181
  "no-obj-calls": "error",
1078
1182
  "no-redeclare": "error",
1183
+ "no-return-await": "off",
1079
1184
  "no-setter-return": "error",
1185
+ "no-shadow": "off",
1080
1186
  "no-this-before-super": "error",
1187
+ "no-throw-literal": "off",
1081
1188
  "no-undef": "error",
1082
1189
  "no-unreachable": "error",
1083
1190
  "no-unsafe-negation": "error",
1084
- "no-with": "error"
1191
+ "no-unused-expressions": "off",
1192
+ "no-unused-vars": "error",
1193
+ "no-useless-constructor": "off",
1194
+ "no-with": "error",
1195
+ "prefer-const": [
1196
+ "error",
1197
+ {
1198
+ "destructuring": "all"
1199
+ }
1200
+ ],
1201
+ "prefer-promise-reject-errors": "off",
1202
+ "require-await": "off"
1085
1203
  },
1086
1204
  },
1087
1205
 
@@ -1340,7 +1458,138 @@ export default [
1340
1458
  // Markdown/MDX code block linting
1341
1459
  {
1342
1460
  ...mdxPlugin.flatCodeBlocks,
1461
+ languageOptions: {
1462
+ ...mdxPlugin.flatCodeBlocks.languageOptions,
1463
+ parserOptions: {
1464
+ ...mdxPlugin.flatCodeBlocks.languageOptions?.parserOptions,
1465
+ projectService: false,
1466
+ },
1467
+ },
1343
1468
  rules: {
1469
+ ...{
1470
+ "@typescript-eslint/adjacent-overload-signatures": "off",
1471
+ "@typescript-eslint/array-type": "off",
1472
+ "@typescript-eslint/await-thenable": "off",
1473
+ "@typescript-eslint/ban-ts-comment": "off",
1474
+ "@typescript-eslint/ban-tslint-comment": "off",
1475
+ "@typescript-eslint/class-literal-property-style": "off",
1476
+ "@typescript-eslint/consistent-generic-constructors": "off",
1477
+ "@typescript-eslint/consistent-indexed-object-style": "off",
1478
+ "@typescript-eslint/consistent-type-assertions": "off",
1479
+ "@typescript-eslint/consistent-type-definitions": "off",
1480
+ "@typescript-eslint/consistent-type-exports": "off",
1481
+ "@typescript-eslint/consistent-type-imports": "off",
1482
+ "@typescript-eslint/dot-notation": "off",
1483
+ "@typescript-eslint/explicit-function-return-type": "off",
1484
+ "@typescript-eslint/explicit-member-accessibility": "off",
1485
+ "@typescript-eslint/member-ordering": "off",
1486
+ "@typescript-eslint/method-signature-style": "off",
1487
+ "@typescript-eslint/naming-convention": "off",
1488
+ "@typescript-eslint/no-array-constructor": "off",
1489
+ "@typescript-eslint/no-array-delete": "off",
1490
+ "@typescript-eslint/no-base-to-string": "off",
1491
+ "@typescript-eslint/no-confusing-non-null-assertion": "off",
1492
+ "@typescript-eslint/no-confusing-void-expression": "off",
1493
+ "@typescript-eslint/no-deprecated": "off",
1494
+ "@typescript-eslint/no-duplicate-enum-values": "off",
1495
+ "@typescript-eslint/no-duplicate-type-constituents": "off",
1496
+ "@typescript-eslint/no-dynamic-delete": "off",
1497
+ "@typescript-eslint/no-empty-function": "off",
1498
+ "@typescript-eslint/no-empty-object-type": "off",
1499
+ "@typescript-eslint/no-explicit-any": "off",
1500
+ "@typescript-eslint/no-extra-non-null-assertion": "off",
1501
+ "@typescript-eslint/no-extraneous-class": "off",
1502
+ "@typescript-eslint/no-floating-promises": "off",
1503
+ "@typescript-eslint/no-for-in-array": "off",
1504
+ "@typescript-eslint/no-implied-eval": "off",
1505
+ "@typescript-eslint/no-import-type-side-effects": "off",
1506
+ "@typescript-eslint/no-inferrable-types": "off",
1507
+ "@typescript-eslint/no-invalid-void-type": "off",
1508
+ "@typescript-eslint/no-magic-numbers": "off",
1509
+ "@typescript-eslint/no-meaningless-void-operator": "off",
1510
+ "@typescript-eslint/no-misused-new": "off",
1511
+ "@typescript-eslint/no-misused-promises": "off",
1512
+ "@typescript-eslint/no-misused-spread": "off",
1513
+ "@typescript-eslint/no-mixed-enums": "off",
1514
+ "@typescript-eslint/no-namespace": "off",
1515
+ "@typescript-eslint/no-non-null-asserted-nullish-coalescing": "off",
1516
+ "@typescript-eslint/no-non-null-asserted-optional-chain": "off",
1517
+ "@typescript-eslint/no-non-null-assertion": "off",
1518
+ "@typescript-eslint/no-redundant-type-constituents": "off",
1519
+ "@typescript-eslint/no-require-imports": "off",
1520
+ "@typescript-eslint/no-shadow": "off",
1521
+ "@typescript-eslint/no-this-alias": "off",
1522
+ "@typescript-eslint/no-unnecessary-boolean-literal-compare": "off",
1523
+ "@typescript-eslint/no-unnecessary-condition": "off",
1524
+ "@typescript-eslint/no-unnecessary-parameter-property-assignment": "off",
1525
+ "@typescript-eslint/no-unnecessary-qualifier": "off",
1526
+ "@typescript-eslint/no-unnecessary-template-expression": "off",
1527
+ "@typescript-eslint/no-unnecessary-type-arguments": "off",
1528
+ "@typescript-eslint/no-unnecessary-type-assertion": "off",
1529
+ "@typescript-eslint/no-unnecessary-type-constraint": "off",
1530
+ "@typescript-eslint/no-unnecessary-type-conversion": "off",
1531
+ "@typescript-eslint/no-unnecessary-type-parameters": "off",
1532
+ "@typescript-eslint/no-unsafe-argument": "off",
1533
+ "@typescript-eslint/no-unsafe-assignment": "off",
1534
+ "@typescript-eslint/no-unsafe-call": "off",
1535
+ "@typescript-eslint/no-unsafe-declaration-merging": "off",
1536
+ "@typescript-eslint/no-unsafe-enum-comparison": "off",
1537
+ "@typescript-eslint/no-unsafe-function-type": "off",
1538
+ "@typescript-eslint/no-unsafe-member-access": "off",
1539
+ "@typescript-eslint/no-unsafe-return": "off",
1540
+ "@typescript-eslint/no-unsafe-type-assertion": "off",
1541
+ "@typescript-eslint/no-unsafe-unary-minus": "off",
1542
+ "@typescript-eslint/no-unused-expressions": "off",
1543
+ "@typescript-eslint/no-unused-vars": "off",
1544
+ "@typescript-eslint/no-useless-constructor": "off",
1545
+ "@typescript-eslint/no-useless-default-assignment": "off",
1546
+ "@typescript-eslint/no-useless-empty-export": "off",
1547
+ "@typescript-eslint/no-wrapper-object-types": "off",
1548
+ "@typescript-eslint/non-nullable-type-assertion-style": "off",
1549
+ "@typescript-eslint/only-throw-error": "off",
1550
+ "@typescript-eslint/prefer-as-const": "off",
1551
+ "@typescript-eslint/prefer-enum-initializers": "off",
1552
+ "@typescript-eslint/prefer-find": "off",
1553
+ "@typescript-eslint/prefer-for-of": "off",
1554
+ "@typescript-eslint/prefer-function-type": "off",
1555
+ "@typescript-eslint/prefer-includes": "off",
1556
+ "@typescript-eslint/prefer-literal-enum-member": "off",
1557
+ "@typescript-eslint/prefer-namespace-keyword": "off",
1558
+ "@typescript-eslint/prefer-nullish-coalescing": "off",
1559
+ "@typescript-eslint/prefer-optional-chain": "off",
1560
+ "@typescript-eslint/prefer-promise-reject-errors": "off",
1561
+ "@typescript-eslint/prefer-readonly": "off",
1562
+ "@typescript-eslint/prefer-reduce-type-parameter": "off",
1563
+ "@typescript-eslint/prefer-regexp-exec": "off",
1564
+ "@typescript-eslint/prefer-return-this-type": "off",
1565
+ "@typescript-eslint/prefer-string-starts-ends-with": "off",
1566
+ "@typescript-eslint/promise-function-async": "off",
1567
+ "@typescript-eslint/related-getter-setter-pairs": "off",
1568
+ "@typescript-eslint/require-array-sort-compare": "off",
1569
+ "@typescript-eslint/require-await": "off",
1570
+ "@typescript-eslint/restrict-plus-operands": "off",
1571
+ "@typescript-eslint/restrict-template-expressions": "off",
1572
+ "@typescript-eslint/return-await": "off",
1573
+ "@typescript-eslint/strict-boolean-expressions": "off",
1574
+ "@typescript-eslint/strict-void-return": "off",
1575
+ "@typescript-eslint/switch-exhaustiveness-check": "off",
1576
+ "@typescript-eslint/triple-slash-reference": "off",
1577
+ "@typescript-eslint/unbound-method": "off",
1578
+ "@typescript-eslint/unified-signatures": "off",
1579
+ "@typescript-eslint/use-unknown-in-catch-callback-variable": "off",
1580
+ "dot-notation": "off",
1581
+ "no-array-constructor": "off",
1582
+ "no-empty-function": "off",
1583
+ "no-implied-eval": "off",
1584
+ "no-return-await": "off",
1585
+ "no-shadow": "off",
1586
+ "no-throw-literal": "off",
1587
+ "no-useless-constructor": "off",
1588
+ "prefer-promise-reject-errors": "off",
1589
+ "require-await": "off",
1590
+ "strict": "off",
1591
+ "unicode-bom": "off"
1592
+ },
1344
1593
  ...mdxPlugin.flatCodeBlocks.rules,
1345
1594
  "eol-last": "off",
1346
1595
  "no-undef": "off",