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.
@@ -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": [
@@ -507,17 +501,35 @@ export default [
507
501
  "maxDepth": 3
508
502
  }
509
503
  ],
510
- "import/no-duplicates": [
504
+ "import/no-duplicates": "error",
505
+ "import/no-empty-named-blocks": "error",
506
+ "import/no-extraneous-dependencies": [
511
507
  "error",
512
508
  {
513
- "prefer-inline": true
509
+ "includeTypes": true
514
510
  }
515
511
  ],
516
- "import/no-empty-named-blocks": "error",
517
512
  "import/no-mutable-exports": "error",
518
513
  "import/no-named-as-default": "error",
519
514
  "import/no-named-as-default-member": "error",
515
+ "import/no-named-default": "error",
520
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
+ ],
521
533
  "import/no-useless-path-segments": "error",
522
534
  "jsdoc/check-access": "error",
523
535
  "jsdoc/check-alignment": "error",
@@ -552,9 +564,6 @@ export default [
552
564
  "jsdoc/require-yields-type": "error",
553
565
  "jsdoc/ts-no-empty-object-type": "error",
554
566
  "jsdoc/valid-types": "error",
555
- "jsx-a11y/interactive-supports-focus": "error",
556
- "jsx-a11y/no-noninteractive-element-interactions": "error",
557
- "jsx-a11y/no-static-element-interactions": "error",
558
567
  "logical-assignment-operators": [
559
568
  "error",
560
569
  "always",
@@ -577,7 +586,7 @@ export default [
577
586
  "max-lines-per-function": [
578
587
  "error",
579
588
  {
580
- "max": 50,
589
+ "max": 100,
581
590
  "skipBlankLines": true,
582
591
  "skipComments": true
583
592
  }
@@ -626,6 +635,7 @@ export default [
626
635
  "no-fallthrough": "error",
627
636
  "no-global-assign": "error",
628
637
  "no-implicit-coercion": "error",
638
+ "no-implicit-globals": "error",
629
639
  "no-irregular-whitespace": "error",
630
640
  "no-iterator": "error",
631
641
  "no-labels": "error",
@@ -661,7 +671,12 @@ export default [
661
671
  "no-script-url": "error",
662
672
  "no-self-assign": "error",
663
673
  "no-self-compare": "error",
664
- "no-sequences": "error",
674
+ "no-sequences": [
675
+ "error",
676
+ {
677
+ "allowInParentheses": false
678
+ }
679
+ ],
665
680
  "no-shadow-restricted-names": "error",
666
681
  "no-sparse-arrays": "error",
667
682
  "no-template-curly-in-string": "error",
@@ -676,13 +691,19 @@ export default [
676
691
  "no-useless-assignment": "error",
677
692
  "no-useless-call": "error",
678
693
  "no-useless-catch": "error",
679
- "no-useless-computed-key": "error",
694
+ "no-useless-computed-key": [
695
+ "error",
696
+ {
697
+ "enforceForClassMembers": true
698
+ }
699
+ ],
680
700
  "no-useless-concat": "error",
681
701
  "no-useless-escape": "error",
682
702
  "no-useless-rename": "error",
683
703
  "no-useless-return": "error",
684
704
  "no-var": "error",
685
705
  "no-warning-comments": "warn",
706
+ "node/handle-callback-err": "error",
686
707
  "node/hashbang": "error",
687
708
  "node/no-deprecated-api": "error",
688
709
  "node/no-exports-assign": "error",
@@ -711,10 +732,12 @@ export default [
711
732
  ],
712
733
  "node/prefer-promises/dns": "error",
713
734
  "node/prefer-promises/fs": "error",
735
+ "node/process-exit-as-throw": "error",
714
736
  "object-shorthand": [
715
737
  "error",
716
738
  "always",
717
739
  {
740
+ "avoidExplicitReturnArrows": true,
718
741
  "avoidQuotes": true
719
742
  }
720
743
  ],
@@ -749,14 +772,10 @@ export default [
749
772
  "allowNamedFunctions": true
750
773
  }
751
774
  ],
752
- "prefer-const": [
753
- "error",
754
- {
755
- "destructuring": "all"
756
- }
757
- ],
775
+ "prefer-const": "error",
758
776
  "prefer-exponentiation-operator": "error",
759
777
  "prefer-named-capture-group": "error",
778
+ "prefer-numeric-literals": "error",
760
779
  "prefer-object-has-own": "error",
761
780
  "prefer-object-spread": "error",
762
781
  "prefer-regex-literals": "error",
@@ -911,8 +930,12 @@ export default [
911
930
  {
912
931
  "cases": {
913
932
  "camelCase": true,
914
- "pascalCase": true
915
- }
933
+ "pascalCase": true,
934
+ "kebabCase": true
935
+ },
936
+ "ignore": [
937
+ "__tests__"
938
+ ]
916
939
  }
917
940
  ],
918
941
  "unicorn/new-for-builtins": "error",
@@ -920,12 +943,12 @@ export default [
920
943
  "unicorn/no-accessor-recursion": "error",
921
944
  "unicorn/no-anonymous-default-export": "error",
922
945
  "unicorn/no-array-callback-reference": "error",
923
- "unicorn/no-array-for-each": "error",
924
946
  "unicorn/no-array-method-this-argument": "error",
925
947
  "unicorn/no-array-push-push": "error",
926
948
  "unicorn/no-array-reduce": "error",
927
949
  "unicorn/no-await-expression-member": "error",
928
950
  "unicorn/no-await-in-promise-methods": "error",
951
+ "unicorn/no-for-each": "error",
929
952
  "unicorn/no-for-loop": "error",
930
953
  "unicorn/no-instanceof-builtins": "error",
931
954
  "unicorn/no-invalid-fetch-options": "error",
@@ -945,7 +968,12 @@ export default [
945
968
  "unicorn/no-useless-promise-resolve-reject": "error",
946
969
  "unicorn/no-useless-spread": "error",
947
970
  "unicorn/no-useless-switch-case": "error",
948
- "unicorn/no-useless-undefined": "error",
971
+ "unicorn/no-useless-undefined": [
972
+ "warn",
973
+ {
974
+ "checkArguments": false
975
+ }
976
+ ],
949
977
  "unicorn/no-zero-fractions": "error",
950
978
  "unicorn/numeric-separators-style": "error",
951
979
  "unicorn/prefer-array-find": "error",
@@ -956,10 +984,11 @@ export default [
956
984
  "unicorn/prefer-at": "error",
957
985
  "unicorn/prefer-date-now": "error",
958
986
  "unicorn/prefer-default-parameters": "error",
987
+ "unicorn/prefer-dom-node-dataset": "error",
959
988
  "unicorn/prefer-export-from": [
960
989
  "error",
961
990
  {
962
- "ignoreUsedVariables": true
991
+ "checkUsedVariables": false
963
992
  }
964
993
  ],
965
994
  "unicorn/prefer-global-this": "error",
@@ -1002,8 +1031,19 @@ export default [
1002
1031
  "unicorn/text-encoding-identifier-case": "error",
1003
1032
  "unicorn/throw-new-error": "error",
1004
1033
  "unused-imports/no-unused-imports": "error",
1005
- "use-isnan": "error",
1006
- "valid-typeof": "error",
1034
+ "use-isnan": [
1035
+ "error",
1036
+ {
1037
+ "enforceForIndexOf": true,
1038
+ "enforceForSwitchCase": true
1039
+ }
1040
+ ],
1041
+ "valid-typeof": [
1042
+ "error",
1043
+ {
1044
+ "requireStringLiterals": true
1045
+ }
1046
+ ],
1007
1047
  "yoda": "error"
1008
1048
  },
1009
1049
  },
@@ -1013,78 +1053,156 @@ export default [
1013
1053
  name: "eslint-config-setup/js-compat",
1014
1054
  files: ["**/*.{js,mjs,cjs}"],
1015
1055
  rules: {
1056
+ "@typescript-eslint/adjacent-overload-signatures": "off",
1057
+ "@typescript-eslint/array-type": "off",
1016
1058
  "@typescript-eslint/await-thenable": "off",
1059
+ "@typescript-eslint/ban-ts-comment": "off",
1060
+ "@typescript-eslint/ban-tslint-comment": "off",
1061
+ "@typescript-eslint/class-literal-property-style": "off",
1062
+ "@typescript-eslint/consistent-generic-constructors": "off",
1063
+ "@typescript-eslint/consistent-indexed-object-style": "off",
1017
1064
  "@typescript-eslint/consistent-return": "off",
1065
+ "@typescript-eslint/consistent-type-assertions": "off",
1066
+ "@typescript-eslint/consistent-type-definitions": "off",
1067
+ "@typescript-eslint/consistent-type-exports": "off",
1068
+ "@typescript-eslint/consistent-type-imports": "off",
1018
1069
  "@typescript-eslint/dot-notation": "off",
1070
+ "@typescript-eslint/explicit-function-return-type": "off",
1071
+ "@typescript-eslint/explicit-member-accessibility": "off",
1072
+ "@typescript-eslint/member-ordering": "off",
1073
+ "@typescript-eslint/method-signature-style": "off",
1074
+ "@typescript-eslint/naming-convention": "off",
1075
+ "@typescript-eslint/no-array-constructor": "off",
1019
1076
  "@typescript-eslint/no-array-delete": "off",
1020
1077
  "@typescript-eslint/no-base-to-string": "off",
1078
+ "@typescript-eslint/no-confusing-non-null-assertion": "off",
1021
1079
  "@typescript-eslint/no-confusing-void-expression": "off",
1022
1080
  "@typescript-eslint/no-deprecated": "off",
1081
+ "@typescript-eslint/no-duplicate-enum-values": "off",
1023
1082
  "@typescript-eslint/no-duplicate-type-constituents": "off",
1083
+ "@typescript-eslint/no-dynamic-delete": "off",
1084
+ "@typescript-eslint/no-empty-function": "off",
1085
+ "@typescript-eslint/no-empty-object-type": "off",
1086
+ "@typescript-eslint/no-explicit-any": "off",
1087
+ "@typescript-eslint/no-extra-non-null-assertion": "off",
1088
+ "@typescript-eslint/no-extraneous-class": "off",
1089
+ "@typescript-eslint/no-floating-promises": "off",
1024
1090
  "@typescript-eslint/no-for-in-array": "off",
1025
1091
  "@typescript-eslint/no-implied-eval": "off",
1092
+ "@typescript-eslint/no-import-type-side-effects": "off",
1093
+ "@typescript-eslint/no-inferrable-types": "off",
1094
+ "@typescript-eslint/no-invalid-void-type": "off",
1095
+ "@typescript-eslint/no-magic-numbers": "off",
1026
1096
  "@typescript-eslint/no-meaningless-void-operator": "off",
1097
+ "@typescript-eslint/no-misused-new": "off",
1027
1098
  "@typescript-eslint/no-misused-promises": "off",
1028
1099
  "@typescript-eslint/no-misused-spread": "off",
1029
1100
  "@typescript-eslint/no-mixed-enums": "off",
1101
+ "@typescript-eslint/no-namespace": "off",
1102
+ "@typescript-eslint/no-non-null-asserted-nullish-coalescing": "off",
1103
+ "@typescript-eslint/no-non-null-asserted-optional-chain": "off",
1104
+ "@typescript-eslint/no-non-null-assertion": "off",
1030
1105
  "@typescript-eslint/no-redundant-type-constituents": "off",
1106
+ "@typescript-eslint/no-require-imports": "off",
1107
+ "@typescript-eslint/no-shadow": "off",
1108
+ "@typescript-eslint/no-this-alias": "off",
1031
1109
  "@typescript-eslint/no-unnecessary-boolean-literal-compare": "off",
1032
1110
  "@typescript-eslint/no-unnecessary-condition": "off",
1111
+ "@typescript-eslint/no-unnecessary-parameter-property-assignment": "off",
1033
1112
  "@typescript-eslint/no-unnecessary-qualifier": "off",
1034
1113
  "@typescript-eslint/no-unnecessary-template-expression": "off",
1035
1114
  "@typescript-eslint/no-unnecessary-type-arguments": "off",
1036
1115
  "@typescript-eslint/no-unnecessary-type-assertion": "off",
1116
+ "@typescript-eslint/no-unnecessary-type-constraint": "off",
1037
1117
  "@typescript-eslint/no-unnecessary-type-conversion": "off",
1038
1118
  "@typescript-eslint/no-unnecessary-type-parameters": "off",
1039
1119
  "@typescript-eslint/no-unsafe-argument": "off",
1040
1120
  "@typescript-eslint/no-unsafe-assignment": "off",
1041
1121
  "@typescript-eslint/no-unsafe-call": "off",
1122
+ "@typescript-eslint/no-unsafe-declaration-merging": "off",
1042
1123
  "@typescript-eslint/no-unsafe-enum-comparison": "off",
1124
+ "@typescript-eslint/no-unsafe-function-type": "off",
1043
1125
  "@typescript-eslint/no-unsafe-member-access": "off",
1044
1126
  "@typescript-eslint/no-unsafe-return": "off",
1127
+ "@typescript-eslint/no-unsafe-type-assertion": "off",
1045
1128
  "@typescript-eslint/no-unsafe-unary-minus": "off",
1129
+ "@typescript-eslint/no-unused-expressions": "off",
1130
+ "@typescript-eslint/no-unused-vars": "off",
1131
+ "@typescript-eslint/no-useless-constructor": "off",
1046
1132
  "@typescript-eslint/no-useless-default-assignment": "off",
1133
+ "@typescript-eslint/no-useless-empty-export": "off",
1134
+ "@typescript-eslint/no-wrapper-object-types": "off",
1047
1135
  "@typescript-eslint/non-nullable-type-assertion-style": "off",
1048
1136
  "@typescript-eslint/only-throw-error": "off",
1137
+ "@typescript-eslint/prefer-as-const": "off",
1049
1138
  "@typescript-eslint/prefer-destructuring": "off",
1139
+ "@typescript-eslint/prefer-enum-initializers": "off",
1050
1140
  "@typescript-eslint/prefer-find": "off",
1141
+ "@typescript-eslint/prefer-for-of": "off",
1142
+ "@typescript-eslint/prefer-function-type": "off",
1051
1143
  "@typescript-eslint/prefer-includes": "off",
1144
+ "@typescript-eslint/prefer-literal-enum-member": "off",
1145
+ "@typescript-eslint/prefer-namespace-keyword": "off",
1052
1146
  "@typescript-eslint/prefer-nullish-coalescing": "off",
1053
1147
  "@typescript-eslint/prefer-optional-chain": "off",
1054
1148
  "@typescript-eslint/prefer-promise-reject-errors": "off",
1149
+ "@typescript-eslint/prefer-readonly": "off",
1055
1150
  "@typescript-eslint/prefer-readonly-parameter-types": "off",
1056
1151
  "@typescript-eslint/prefer-reduce-type-parameter": "off",
1057
1152
  "@typescript-eslint/prefer-regexp-exec": "off",
1058
1153
  "@typescript-eslint/prefer-return-this-type": "off",
1059
1154
  "@typescript-eslint/prefer-string-starts-ends-with": "off",
1155
+ "@typescript-eslint/promise-function-async": "off",
1060
1156
  "@typescript-eslint/related-getter-setter-pairs": "off",
1157
+ "@typescript-eslint/require-array-sort-compare": "off",
1061
1158
  "@typescript-eslint/require-await": "off",
1062
1159
  "@typescript-eslint/restrict-plus-operands": "off",
1063
1160
  "@typescript-eslint/restrict-template-expressions": "off",
1064
1161
  "@typescript-eslint/return-await": "off",
1065
1162
  "@typescript-eslint/strict-boolean-expressions": "off",
1066
1163
  "@typescript-eslint/strict-void-return": "off",
1164
+ "@typescript-eslint/switch-exhaustiveness-check": "off",
1165
+ "@typescript-eslint/triple-slash-reference": "off",
1067
1166
  "@typescript-eslint/unbound-method": "off",
1167
+ "@typescript-eslint/unified-signatures": "off",
1068
1168
  "@typescript-eslint/use-unknown-in-catch-callback-variable": "off",
1069
1169
  "constructor-super": "error",
1170
+ "dot-notation": "off",
1070
1171
  "getter-return": "error",
1172
+ "no-array-constructor": "off",
1071
1173
  "no-class-assign": "error",
1072
1174
  "no-const-assign": "error",
1073
1175
  "no-dupe-args": "error",
1074
1176
  "no-dupe-class-members": "error",
1075
1177
  "no-dupe-keys": "error",
1178
+ "no-empty-function": "off",
1076
1179
  "no-func-assign": "error",
1180
+ "no-implied-eval": "off",
1077
1181
  "no-import-assign": "error",
1078
1182
  "no-new-native-nonconstructor": "error",
1079
1183
  "no-new-symbol": "off",
1080
1184
  "no-obj-calls": "error",
1081
1185
  "no-redeclare": "error",
1186
+ "no-return-await": "off",
1082
1187
  "no-setter-return": "error",
1188
+ "no-shadow": "off",
1083
1189
  "no-this-before-super": "error",
1190
+ "no-throw-literal": "off",
1084
1191
  "no-undef": "error",
1085
1192
  "no-unreachable": "error",
1086
1193
  "no-unsafe-negation": "error",
1087
- "no-with": "error"
1194
+ "no-unused-expressions": "off",
1195
+ "no-unused-vars": "error",
1196
+ "no-useless-constructor": "off",
1197
+ "no-with": "error",
1198
+ "prefer-const": [
1199
+ "error",
1200
+ {
1201
+ "destructuring": "all"
1202
+ }
1203
+ ],
1204
+ "prefer-promise-reject-errors": "off",
1205
+ "require-await": "off"
1088
1206
  },
1089
1207
  },
1090
1208
 
@@ -1343,7 +1461,138 @@ export default [
1343
1461
  // Markdown/MDX code block linting
1344
1462
  {
1345
1463
  ...mdxPlugin.flatCodeBlocks,
1464
+ languageOptions: {
1465
+ ...mdxPlugin.flatCodeBlocks.languageOptions,
1466
+ parserOptions: {
1467
+ ...mdxPlugin.flatCodeBlocks.languageOptions?.parserOptions,
1468
+ projectService: false,
1469
+ },
1470
+ },
1346
1471
  rules: {
1472
+ ...{
1473
+ "@typescript-eslint/adjacent-overload-signatures": "off",
1474
+ "@typescript-eslint/array-type": "off",
1475
+ "@typescript-eslint/await-thenable": "off",
1476
+ "@typescript-eslint/ban-ts-comment": "off",
1477
+ "@typescript-eslint/ban-tslint-comment": "off",
1478
+ "@typescript-eslint/class-literal-property-style": "off",
1479
+ "@typescript-eslint/consistent-generic-constructors": "off",
1480
+ "@typescript-eslint/consistent-indexed-object-style": "off",
1481
+ "@typescript-eslint/consistent-type-assertions": "off",
1482
+ "@typescript-eslint/consistent-type-definitions": "off",
1483
+ "@typescript-eslint/consistent-type-exports": "off",
1484
+ "@typescript-eslint/consistent-type-imports": "off",
1485
+ "@typescript-eslint/dot-notation": "off",
1486
+ "@typescript-eslint/explicit-function-return-type": "off",
1487
+ "@typescript-eslint/explicit-member-accessibility": "off",
1488
+ "@typescript-eslint/member-ordering": "off",
1489
+ "@typescript-eslint/method-signature-style": "off",
1490
+ "@typescript-eslint/naming-convention": "off",
1491
+ "@typescript-eslint/no-array-constructor": "off",
1492
+ "@typescript-eslint/no-array-delete": "off",
1493
+ "@typescript-eslint/no-base-to-string": "off",
1494
+ "@typescript-eslint/no-confusing-non-null-assertion": "off",
1495
+ "@typescript-eslint/no-confusing-void-expression": "off",
1496
+ "@typescript-eslint/no-deprecated": "off",
1497
+ "@typescript-eslint/no-duplicate-enum-values": "off",
1498
+ "@typescript-eslint/no-duplicate-type-constituents": "off",
1499
+ "@typescript-eslint/no-dynamic-delete": "off",
1500
+ "@typescript-eslint/no-empty-function": "off",
1501
+ "@typescript-eslint/no-empty-object-type": "off",
1502
+ "@typescript-eslint/no-explicit-any": "off",
1503
+ "@typescript-eslint/no-extra-non-null-assertion": "off",
1504
+ "@typescript-eslint/no-extraneous-class": "off",
1505
+ "@typescript-eslint/no-floating-promises": "off",
1506
+ "@typescript-eslint/no-for-in-array": "off",
1507
+ "@typescript-eslint/no-implied-eval": "off",
1508
+ "@typescript-eslint/no-import-type-side-effects": "off",
1509
+ "@typescript-eslint/no-inferrable-types": "off",
1510
+ "@typescript-eslint/no-invalid-void-type": "off",
1511
+ "@typescript-eslint/no-magic-numbers": "off",
1512
+ "@typescript-eslint/no-meaningless-void-operator": "off",
1513
+ "@typescript-eslint/no-misused-new": "off",
1514
+ "@typescript-eslint/no-misused-promises": "off",
1515
+ "@typescript-eslint/no-misused-spread": "off",
1516
+ "@typescript-eslint/no-mixed-enums": "off",
1517
+ "@typescript-eslint/no-namespace": "off",
1518
+ "@typescript-eslint/no-non-null-asserted-nullish-coalescing": "off",
1519
+ "@typescript-eslint/no-non-null-asserted-optional-chain": "off",
1520
+ "@typescript-eslint/no-non-null-assertion": "off",
1521
+ "@typescript-eslint/no-redundant-type-constituents": "off",
1522
+ "@typescript-eslint/no-require-imports": "off",
1523
+ "@typescript-eslint/no-shadow": "off",
1524
+ "@typescript-eslint/no-this-alias": "off",
1525
+ "@typescript-eslint/no-unnecessary-boolean-literal-compare": "off",
1526
+ "@typescript-eslint/no-unnecessary-condition": "off",
1527
+ "@typescript-eslint/no-unnecessary-parameter-property-assignment": "off",
1528
+ "@typescript-eslint/no-unnecessary-qualifier": "off",
1529
+ "@typescript-eslint/no-unnecessary-template-expression": "off",
1530
+ "@typescript-eslint/no-unnecessary-type-arguments": "off",
1531
+ "@typescript-eslint/no-unnecessary-type-assertion": "off",
1532
+ "@typescript-eslint/no-unnecessary-type-constraint": "off",
1533
+ "@typescript-eslint/no-unnecessary-type-conversion": "off",
1534
+ "@typescript-eslint/no-unnecessary-type-parameters": "off",
1535
+ "@typescript-eslint/no-unsafe-argument": "off",
1536
+ "@typescript-eslint/no-unsafe-assignment": "off",
1537
+ "@typescript-eslint/no-unsafe-call": "off",
1538
+ "@typescript-eslint/no-unsafe-declaration-merging": "off",
1539
+ "@typescript-eslint/no-unsafe-enum-comparison": "off",
1540
+ "@typescript-eslint/no-unsafe-function-type": "off",
1541
+ "@typescript-eslint/no-unsafe-member-access": "off",
1542
+ "@typescript-eslint/no-unsafe-return": "off",
1543
+ "@typescript-eslint/no-unsafe-type-assertion": "off",
1544
+ "@typescript-eslint/no-unsafe-unary-minus": "off",
1545
+ "@typescript-eslint/no-unused-expressions": "off",
1546
+ "@typescript-eslint/no-unused-vars": "off",
1547
+ "@typescript-eslint/no-useless-constructor": "off",
1548
+ "@typescript-eslint/no-useless-default-assignment": "off",
1549
+ "@typescript-eslint/no-useless-empty-export": "off",
1550
+ "@typescript-eslint/no-wrapper-object-types": "off",
1551
+ "@typescript-eslint/non-nullable-type-assertion-style": "off",
1552
+ "@typescript-eslint/only-throw-error": "off",
1553
+ "@typescript-eslint/prefer-as-const": "off",
1554
+ "@typescript-eslint/prefer-enum-initializers": "off",
1555
+ "@typescript-eslint/prefer-find": "off",
1556
+ "@typescript-eslint/prefer-for-of": "off",
1557
+ "@typescript-eslint/prefer-function-type": "off",
1558
+ "@typescript-eslint/prefer-includes": "off",
1559
+ "@typescript-eslint/prefer-literal-enum-member": "off",
1560
+ "@typescript-eslint/prefer-namespace-keyword": "off",
1561
+ "@typescript-eslint/prefer-nullish-coalescing": "off",
1562
+ "@typescript-eslint/prefer-optional-chain": "off",
1563
+ "@typescript-eslint/prefer-promise-reject-errors": "off",
1564
+ "@typescript-eslint/prefer-readonly": "off",
1565
+ "@typescript-eslint/prefer-reduce-type-parameter": "off",
1566
+ "@typescript-eslint/prefer-regexp-exec": "off",
1567
+ "@typescript-eslint/prefer-return-this-type": "off",
1568
+ "@typescript-eslint/prefer-string-starts-ends-with": "off",
1569
+ "@typescript-eslint/promise-function-async": "off",
1570
+ "@typescript-eslint/related-getter-setter-pairs": "off",
1571
+ "@typescript-eslint/require-array-sort-compare": "off",
1572
+ "@typescript-eslint/require-await": "off",
1573
+ "@typescript-eslint/restrict-plus-operands": "off",
1574
+ "@typescript-eslint/restrict-template-expressions": "off",
1575
+ "@typescript-eslint/return-await": "off",
1576
+ "@typescript-eslint/strict-boolean-expressions": "off",
1577
+ "@typescript-eslint/strict-void-return": "off",
1578
+ "@typescript-eslint/switch-exhaustiveness-check": "off",
1579
+ "@typescript-eslint/triple-slash-reference": "off",
1580
+ "@typescript-eslint/unbound-method": "off",
1581
+ "@typescript-eslint/unified-signatures": "off",
1582
+ "@typescript-eslint/use-unknown-in-catch-callback-variable": "off",
1583
+ "dot-notation": "off",
1584
+ "no-array-constructor": "off",
1585
+ "no-empty-function": "off",
1586
+ "no-implied-eval": "off",
1587
+ "no-return-await": "off",
1588
+ "no-shadow": "off",
1589
+ "no-throw-literal": "off",
1590
+ "no-useless-constructor": "off",
1591
+ "prefer-promise-reject-errors": "off",
1592
+ "require-await": "off",
1593
+ "strict": "off",
1594
+ "unicode-bom": "off"
1595
+ },
1347
1596
  ...mdxPlugin.flatCodeBlocks.rules,
1348
1597
  "eol-last": "off",
1349
1598
  "no-undef": "off",