eslint-config-setup 0.3.3 → 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": [
@@ -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,7 +930,8 @@ export default [
911
930
  {
912
931
  "cases": {
913
932
  "camelCase": true,
914
- "pascalCase": true
933
+ "pascalCase": true,
934
+ "kebabCase": true
915
935
  }
916
936
  }
917
937
  ],
@@ -945,7 +965,12 @@ export default [
945
965
  "unicorn/no-useless-promise-resolve-reject": "error",
946
966
  "unicorn/no-useless-spread": "error",
947
967
  "unicorn/no-useless-switch-case": "error",
948
- "unicorn/no-useless-undefined": "error",
968
+ "unicorn/no-useless-undefined": [
969
+ "warn",
970
+ {
971
+ "checkArguments": false
972
+ }
973
+ ],
949
974
  "unicorn/no-zero-fractions": "error",
950
975
  "unicorn/numeric-separators-style": "error",
951
976
  "unicorn/prefer-array-find": "error",
@@ -956,6 +981,7 @@ export default [
956
981
  "unicorn/prefer-at": "error",
957
982
  "unicorn/prefer-date-now": "error",
958
983
  "unicorn/prefer-default-parameters": "error",
984
+ "unicorn/prefer-dom-node-dataset": "error",
959
985
  "unicorn/prefer-export-from": [
960
986
  "error",
961
987
  {
@@ -1002,8 +1028,19 @@ export default [
1002
1028
  "unicorn/text-encoding-identifier-case": "error",
1003
1029
  "unicorn/throw-new-error": "error",
1004
1030
  "unused-imports/no-unused-imports": "error",
1005
- "use-isnan": "error",
1006
- "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
+ ],
1007
1044
  "yoda": "error"
1008
1045
  },
1009
1046
  },
@@ -1013,78 +1050,156 @@ export default [
1013
1050
  name: "eslint-config-setup/js-compat",
1014
1051
  files: ["**/*.{js,mjs,cjs}"],
1015
1052
  rules: {
1053
+ "@typescript-eslint/adjacent-overload-signatures": "off",
1054
+ "@typescript-eslint/array-type": "off",
1016
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",
1017
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",
1018
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",
1019
1073
  "@typescript-eslint/no-array-delete": "off",
1020
1074
  "@typescript-eslint/no-base-to-string": "off",
1075
+ "@typescript-eslint/no-confusing-non-null-assertion": "off",
1021
1076
  "@typescript-eslint/no-confusing-void-expression": "off",
1022
1077
  "@typescript-eslint/no-deprecated": "off",
1078
+ "@typescript-eslint/no-duplicate-enum-values": "off",
1023
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",
1024
1087
  "@typescript-eslint/no-for-in-array": "off",
1025
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",
1026
1093
  "@typescript-eslint/no-meaningless-void-operator": "off",
1094
+ "@typescript-eslint/no-misused-new": "off",
1027
1095
  "@typescript-eslint/no-misused-promises": "off",
1028
1096
  "@typescript-eslint/no-misused-spread": "off",
1029
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",
1030
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",
1031
1106
  "@typescript-eslint/no-unnecessary-boolean-literal-compare": "off",
1032
1107
  "@typescript-eslint/no-unnecessary-condition": "off",
1108
+ "@typescript-eslint/no-unnecessary-parameter-property-assignment": "off",
1033
1109
  "@typescript-eslint/no-unnecessary-qualifier": "off",
1034
1110
  "@typescript-eslint/no-unnecessary-template-expression": "off",
1035
1111
  "@typescript-eslint/no-unnecessary-type-arguments": "off",
1036
1112
  "@typescript-eslint/no-unnecessary-type-assertion": "off",
1113
+ "@typescript-eslint/no-unnecessary-type-constraint": "off",
1037
1114
  "@typescript-eslint/no-unnecessary-type-conversion": "off",
1038
1115
  "@typescript-eslint/no-unnecessary-type-parameters": "off",
1039
1116
  "@typescript-eslint/no-unsafe-argument": "off",
1040
1117
  "@typescript-eslint/no-unsafe-assignment": "off",
1041
1118
  "@typescript-eslint/no-unsafe-call": "off",
1119
+ "@typescript-eslint/no-unsafe-declaration-merging": "off",
1042
1120
  "@typescript-eslint/no-unsafe-enum-comparison": "off",
1121
+ "@typescript-eslint/no-unsafe-function-type": "off",
1043
1122
  "@typescript-eslint/no-unsafe-member-access": "off",
1044
1123
  "@typescript-eslint/no-unsafe-return": "off",
1124
+ "@typescript-eslint/no-unsafe-type-assertion": "off",
1045
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",
1046
1129
  "@typescript-eslint/no-useless-default-assignment": "off",
1130
+ "@typescript-eslint/no-useless-empty-export": "off",
1131
+ "@typescript-eslint/no-wrapper-object-types": "off",
1047
1132
  "@typescript-eslint/non-nullable-type-assertion-style": "off",
1048
1133
  "@typescript-eslint/only-throw-error": "off",
1134
+ "@typescript-eslint/prefer-as-const": "off",
1049
1135
  "@typescript-eslint/prefer-destructuring": "off",
1136
+ "@typescript-eslint/prefer-enum-initializers": "off",
1050
1137
  "@typescript-eslint/prefer-find": "off",
1138
+ "@typescript-eslint/prefer-for-of": "off",
1139
+ "@typescript-eslint/prefer-function-type": "off",
1051
1140
  "@typescript-eslint/prefer-includes": "off",
1141
+ "@typescript-eslint/prefer-literal-enum-member": "off",
1142
+ "@typescript-eslint/prefer-namespace-keyword": "off",
1052
1143
  "@typescript-eslint/prefer-nullish-coalescing": "off",
1053
1144
  "@typescript-eslint/prefer-optional-chain": "off",
1054
1145
  "@typescript-eslint/prefer-promise-reject-errors": "off",
1146
+ "@typescript-eslint/prefer-readonly": "off",
1055
1147
  "@typescript-eslint/prefer-readonly-parameter-types": "off",
1056
1148
  "@typescript-eslint/prefer-reduce-type-parameter": "off",
1057
1149
  "@typescript-eslint/prefer-regexp-exec": "off",
1058
1150
  "@typescript-eslint/prefer-return-this-type": "off",
1059
1151
  "@typescript-eslint/prefer-string-starts-ends-with": "off",
1152
+ "@typescript-eslint/promise-function-async": "off",
1060
1153
  "@typescript-eslint/related-getter-setter-pairs": "off",
1154
+ "@typescript-eslint/require-array-sort-compare": "off",
1061
1155
  "@typescript-eslint/require-await": "off",
1062
1156
  "@typescript-eslint/restrict-plus-operands": "off",
1063
1157
  "@typescript-eslint/restrict-template-expressions": "off",
1064
1158
  "@typescript-eslint/return-await": "off",
1065
1159
  "@typescript-eslint/strict-boolean-expressions": "off",
1066
1160
  "@typescript-eslint/strict-void-return": "off",
1161
+ "@typescript-eslint/switch-exhaustiveness-check": "off",
1162
+ "@typescript-eslint/triple-slash-reference": "off",
1067
1163
  "@typescript-eslint/unbound-method": "off",
1164
+ "@typescript-eslint/unified-signatures": "off",
1068
1165
  "@typescript-eslint/use-unknown-in-catch-callback-variable": "off",
1069
1166
  "constructor-super": "error",
1167
+ "dot-notation": "off",
1070
1168
  "getter-return": "error",
1169
+ "no-array-constructor": "off",
1071
1170
  "no-class-assign": "error",
1072
1171
  "no-const-assign": "error",
1073
1172
  "no-dupe-args": "error",
1074
1173
  "no-dupe-class-members": "error",
1075
1174
  "no-dupe-keys": "error",
1175
+ "no-empty-function": "off",
1076
1176
  "no-func-assign": "error",
1177
+ "no-implied-eval": "off",
1077
1178
  "no-import-assign": "error",
1078
1179
  "no-new-native-nonconstructor": "error",
1079
1180
  "no-new-symbol": "off",
1080
1181
  "no-obj-calls": "error",
1081
1182
  "no-redeclare": "error",
1183
+ "no-return-await": "off",
1082
1184
  "no-setter-return": "error",
1185
+ "no-shadow": "off",
1083
1186
  "no-this-before-super": "error",
1187
+ "no-throw-literal": "off",
1084
1188
  "no-undef": "error",
1085
1189
  "no-unreachable": "error",
1086
1190
  "no-unsafe-negation": "error",
1087
- "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"
1088
1203
  },
1089
1204
  },
1090
1205
 
@@ -1343,7 +1458,138 @@ export default [
1343
1458
  // Markdown/MDX code block linting
1344
1459
  {
1345
1460
  ...mdxPlugin.flatCodeBlocks,
1461
+ languageOptions: {
1462
+ ...mdxPlugin.flatCodeBlocks.languageOptions,
1463
+ parserOptions: {
1464
+ ...mdxPlugin.flatCodeBlocks.languageOptions?.parserOptions,
1465
+ projectService: false,
1466
+ },
1467
+ },
1346
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
+ },
1347
1593
  ...mdxPlugin.flatCodeBlocks.rules,
1348
1594
  "eol-last": "off",
1349
1595
  "no-undef": "off",