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,8 +7,6 @@ import deMorganPlugin from "eslint-plugin-de-morgan"
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
- import nodePlugin from "eslint-plugin-n"
12
10
  import packageJsonPlugin from "eslint-plugin-package-json"
13
11
  import perfectionistPlugin from "eslint-plugin-perfectionist"
14
12
  import playwrightPlugin from "eslint-plugin-playwright"
@@ -26,9 +24,10 @@ export default [
26
24
  // TypeScript parser setup
27
25
  ...tseslint.configs.strictTypeChecked.slice(0, 2),
28
26
 
29
- // Base rules — all effective rules for *.ts files
27
+ // Base rules — all effective rules for TS plus shared JS/TS rules
30
28
  {
31
29
  name: "eslint-config-setup/base",
30
+ ignores: ["**/*.{md,mdx}"],
32
31
  plugins: {
33
32
  "@cspell": cspellPlugin,
34
33
  "@typescript-eslint": tseslint.plugin,
@@ -36,8 +35,6 @@ export default [
36
35
  "de-morgan": deMorganPlugin,
37
36
  "import": importXPlugin,
38
37
  "jsdoc": jsdocPlugin,
39
- "jsx-a11y": jsxA11yPlugin,
40
- "node": nodePlugin,
41
38
  "perfectionist": perfectionistPlugin,
42
39
  "regexp": regexpPlugin,
43
40
  "security": securityPlugin,
@@ -72,7 +69,7 @@ export default [
72
69
  "@typescript-eslint/ban-ts-comment": [
73
70
  "error",
74
71
  {
75
- "minimumDescriptionLength": 10
72
+ "ts-expect-error": "allow-with-description"
76
73
  }
77
74
  ],
78
75
  "@typescript-eslint/ban-tslint-comment": "error",
@@ -297,12 +294,7 @@ export default [
297
294
  "@typescript-eslint/no-dynamic-delete": "error",
298
295
  "@typescript-eslint/no-empty-function": "error",
299
296
  "@typescript-eslint/no-empty-object-type": "error",
300
- "@typescript-eslint/no-explicit-any": [
301
- "error",
302
- {
303
- "fixToUnknown": true
304
- }
305
- ],
297
+ "@typescript-eslint/no-explicit-any": "error",
306
298
  "@typescript-eslint/no-extra-non-null-assertion": "error",
307
299
  "@typescript-eslint/no-extraneous-class": "error",
308
300
  "@typescript-eslint/no-floating-promises": [
@@ -487,7 +479,10 @@ export default [
487
479
  "de-morgan/no-negated-conjunction": "error",
488
480
  "de-morgan/no-negated-disjunction": "error",
489
481
  "default-case-last": "error",
490
- "eqeqeq": "error",
482
+ "eqeqeq": [
483
+ "error",
484
+ "smart"
485
+ ],
491
486
  "for-direction": "error",
492
487
  "grouped-accessor-pairs": [
493
488
  "error",
@@ -503,17 +498,35 @@ export default [
503
498
  "maxDepth": 3
504
499
  }
505
500
  ],
506
- "import/no-duplicates": [
501
+ "import/no-duplicates": "error",
502
+ "import/no-empty-named-blocks": "error",
503
+ "import/no-extraneous-dependencies": [
507
504
  "error",
508
505
  {
509
- "prefer-inline": true
506
+ "includeTypes": true
510
507
  }
511
508
  ],
512
- "import/no-empty-named-blocks": "error",
513
509
  "import/no-mutable-exports": "error",
514
510
  "import/no-named-as-default": "error",
515
511
  "import/no-named-as-default-member": "error",
512
+ "import/no-named-default": "error",
516
513
  "import/no-self-import": "error",
514
+ "import/no-unassigned-import": [
515
+ "error",
516
+ {
517
+ "allow": [
518
+ "@babel/polyfill",
519
+ "**/register",
520
+ "**/register.*",
521
+ "**/register/**",
522
+ "**/register/**.*",
523
+ "**/*.css",
524
+ "**/*.scss",
525
+ "**/*.sass",
526
+ "**/*.less"
527
+ ]
528
+ }
529
+ ],
517
530
  "import/no-useless-path-segments": "error",
518
531
  "jsdoc/check-access": "error",
519
532
  "jsdoc/check-alignment": "error",
@@ -548,9 +561,6 @@ export default [
548
561
  "jsdoc/require-yields-type": "error",
549
562
  "jsdoc/ts-no-empty-object-type": "error",
550
563
  "jsdoc/valid-types": "error",
551
- "jsx-a11y/interactive-supports-focus": "error",
552
- "jsx-a11y/no-noninteractive-element-interactions": "error",
553
- "jsx-a11y/no-static-element-interactions": "error",
554
564
  "logical-assignment-operators": [
555
565
  "error",
556
566
  "always",
@@ -573,7 +583,7 @@ export default [
573
583
  "max-lines-per-function": [
574
584
  "error",
575
585
  {
576
- "max": 50,
586
+ "max": 100,
577
587
  "skipBlankLines": true,
578
588
  "skipComments": true
579
589
  }
@@ -622,6 +632,7 @@ export default [
622
632
  "no-fallthrough": "error",
623
633
  "no-global-assign": "error",
624
634
  "no-implicit-coercion": "error",
635
+ "no-implicit-globals": "error",
625
636
  "no-irregular-whitespace": "error",
626
637
  "no-iterator": "error",
627
638
  "no-labels": "error",
@@ -657,7 +668,12 @@ export default [
657
668
  "no-script-url": "error",
658
669
  "no-self-assign": "error",
659
670
  "no-self-compare": "error",
660
- "no-sequences": "error",
671
+ "no-sequences": [
672
+ "error",
673
+ {
674
+ "allowInParentheses": false
675
+ }
676
+ ],
661
677
  "no-shadow-restricted-names": "error",
662
678
  "no-sparse-arrays": "error",
663
679
  "no-template-curly-in-string": "error",
@@ -672,18 +688,23 @@ export default [
672
688
  "no-useless-assignment": "error",
673
689
  "no-useless-call": "error",
674
690
  "no-useless-catch": "error",
675
- "no-useless-computed-key": "error",
691
+ "no-useless-computed-key": [
692
+ "error",
693
+ {
694
+ "enforceForClassMembers": true
695
+ }
696
+ ],
676
697
  "no-useless-concat": "error",
677
698
  "no-useless-escape": "error",
678
699
  "no-useless-rename": "error",
679
700
  "no-useless-return": "error",
680
701
  "no-var": "error",
681
702
  "no-warning-comments": "warn",
682
- "node/no-unsupported-features/node-builtins": "error",
683
703
  "object-shorthand": [
684
704
  "error",
685
705
  "always",
686
706
  {
707
+ "avoidExplicitReturnArrows": true,
687
708
  "avoidQuotes": true
688
709
  }
689
710
  ],
@@ -718,14 +739,10 @@ export default [
718
739
  "allowNamedFunctions": true
719
740
  }
720
741
  ],
721
- "prefer-const": [
722
- "error",
723
- {
724
- "destructuring": "all"
725
- }
726
- ],
742
+ "prefer-const": "error",
727
743
  "prefer-exponentiation-operator": "error",
728
744
  "prefer-named-capture-group": "error",
745
+ "prefer-numeric-literals": "error",
729
746
  "prefer-object-has-own": "error",
730
747
  "prefer-object-spread": "error",
731
748
  "prefer-regex-literals": "error",
@@ -880,7 +897,8 @@ export default [
880
897
  {
881
898
  "cases": {
882
899
  "camelCase": true,
883
- "pascalCase": true
900
+ "pascalCase": true,
901
+ "kebabCase": true
884
902
  }
885
903
  }
886
904
  ],
@@ -914,7 +932,12 @@ export default [
914
932
  "unicorn/no-useless-promise-resolve-reject": "error",
915
933
  "unicorn/no-useless-spread": "error",
916
934
  "unicorn/no-useless-switch-case": "error",
917
- "unicorn/no-useless-undefined": "error",
935
+ "unicorn/no-useless-undefined": [
936
+ "warn",
937
+ {
938
+ "checkArguments": false
939
+ }
940
+ ],
918
941
  "unicorn/no-zero-fractions": "error",
919
942
  "unicorn/numeric-separators-style": "error",
920
943
  "unicorn/prefer-array-find": "error",
@@ -925,6 +948,7 @@ export default [
925
948
  "unicorn/prefer-at": "error",
926
949
  "unicorn/prefer-date-now": "error",
927
950
  "unicorn/prefer-default-parameters": "error",
951
+ "unicorn/prefer-dom-node-dataset": "error",
928
952
  "unicorn/prefer-export-from": [
929
953
  "error",
930
954
  {
@@ -971,8 +995,19 @@ export default [
971
995
  "unicorn/text-encoding-identifier-case": "error",
972
996
  "unicorn/throw-new-error": "error",
973
997
  "unused-imports/no-unused-imports": "error",
974
- "use-isnan": "error",
975
- "valid-typeof": "error",
998
+ "use-isnan": [
999
+ "error",
1000
+ {
1001
+ "enforceForIndexOf": true,
1002
+ "enforceForSwitchCase": true
1003
+ }
1004
+ ],
1005
+ "valid-typeof": [
1006
+ "error",
1007
+ {
1008
+ "requireStringLiterals": true
1009
+ }
1010
+ ],
976
1011
  "yoda": "error"
977
1012
  },
978
1013
  },
@@ -982,78 +1017,156 @@ export default [
982
1017
  name: "eslint-config-setup/js-compat",
983
1018
  files: ["**/*.{js,mjs,cjs}"],
984
1019
  rules: {
1020
+ "@typescript-eslint/adjacent-overload-signatures": "off",
1021
+ "@typescript-eslint/array-type": "off",
985
1022
  "@typescript-eslint/await-thenable": "off",
1023
+ "@typescript-eslint/ban-ts-comment": "off",
1024
+ "@typescript-eslint/ban-tslint-comment": "off",
1025
+ "@typescript-eslint/class-literal-property-style": "off",
1026
+ "@typescript-eslint/consistent-generic-constructors": "off",
1027
+ "@typescript-eslint/consistent-indexed-object-style": "off",
986
1028
  "@typescript-eslint/consistent-return": "off",
1029
+ "@typescript-eslint/consistent-type-assertions": "off",
1030
+ "@typescript-eslint/consistent-type-definitions": "off",
1031
+ "@typescript-eslint/consistent-type-exports": "off",
1032
+ "@typescript-eslint/consistent-type-imports": "off",
987
1033
  "@typescript-eslint/dot-notation": "off",
1034
+ "@typescript-eslint/explicit-function-return-type": "off",
1035
+ "@typescript-eslint/explicit-member-accessibility": "off",
1036
+ "@typescript-eslint/member-ordering": "off",
1037
+ "@typescript-eslint/method-signature-style": "off",
1038
+ "@typescript-eslint/naming-convention": "off",
1039
+ "@typescript-eslint/no-array-constructor": "off",
988
1040
  "@typescript-eslint/no-array-delete": "off",
989
1041
  "@typescript-eslint/no-base-to-string": "off",
1042
+ "@typescript-eslint/no-confusing-non-null-assertion": "off",
990
1043
  "@typescript-eslint/no-confusing-void-expression": "off",
991
1044
  "@typescript-eslint/no-deprecated": "off",
1045
+ "@typescript-eslint/no-duplicate-enum-values": "off",
992
1046
  "@typescript-eslint/no-duplicate-type-constituents": "off",
1047
+ "@typescript-eslint/no-dynamic-delete": "off",
1048
+ "@typescript-eslint/no-empty-function": "off",
1049
+ "@typescript-eslint/no-empty-object-type": "off",
1050
+ "@typescript-eslint/no-explicit-any": "off",
1051
+ "@typescript-eslint/no-extra-non-null-assertion": "off",
1052
+ "@typescript-eslint/no-extraneous-class": "off",
1053
+ "@typescript-eslint/no-floating-promises": "off",
993
1054
  "@typescript-eslint/no-for-in-array": "off",
994
1055
  "@typescript-eslint/no-implied-eval": "off",
1056
+ "@typescript-eslint/no-import-type-side-effects": "off",
1057
+ "@typescript-eslint/no-inferrable-types": "off",
1058
+ "@typescript-eslint/no-invalid-void-type": "off",
1059
+ "@typescript-eslint/no-magic-numbers": "off",
995
1060
  "@typescript-eslint/no-meaningless-void-operator": "off",
1061
+ "@typescript-eslint/no-misused-new": "off",
996
1062
  "@typescript-eslint/no-misused-promises": "off",
997
1063
  "@typescript-eslint/no-misused-spread": "off",
998
1064
  "@typescript-eslint/no-mixed-enums": "off",
1065
+ "@typescript-eslint/no-namespace": "off",
1066
+ "@typescript-eslint/no-non-null-asserted-nullish-coalescing": "off",
1067
+ "@typescript-eslint/no-non-null-asserted-optional-chain": "off",
1068
+ "@typescript-eslint/no-non-null-assertion": "off",
999
1069
  "@typescript-eslint/no-redundant-type-constituents": "off",
1070
+ "@typescript-eslint/no-require-imports": "off",
1071
+ "@typescript-eslint/no-shadow": "off",
1072
+ "@typescript-eslint/no-this-alias": "off",
1000
1073
  "@typescript-eslint/no-unnecessary-boolean-literal-compare": "off",
1001
1074
  "@typescript-eslint/no-unnecessary-condition": "off",
1075
+ "@typescript-eslint/no-unnecessary-parameter-property-assignment": "off",
1002
1076
  "@typescript-eslint/no-unnecessary-qualifier": "off",
1003
1077
  "@typescript-eslint/no-unnecessary-template-expression": "off",
1004
1078
  "@typescript-eslint/no-unnecessary-type-arguments": "off",
1005
1079
  "@typescript-eslint/no-unnecessary-type-assertion": "off",
1080
+ "@typescript-eslint/no-unnecessary-type-constraint": "off",
1006
1081
  "@typescript-eslint/no-unnecessary-type-conversion": "off",
1007
1082
  "@typescript-eslint/no-unnecessary-type-parameters": "off",
1008
1083
  "@typescript-eslint/no-unsafe-argument": "off",
1009
1084
  "@typescript-eslint/no-unsafe-assignment": "off",
1010
1085
  "@typescript-eslint/no-unsafe-call": "off",
1086
+ "@typescript-eslint/no-unsafe-declaration-merging": "off",
1011
1087
  "@typescript-eslint/no-unsafe-enum-comparison": "off",
1088
+ "@typescript-eslint/no-unsafe-function-type": "off",
1012
1089
  "@typescript-eslint/no-unsafe-member-access": "off",
1013
1090
  "@typescript-eslint/no-unsafe-return": "off",
1091
+ "@typescript-eslint/no-unsafe-type-assertion": "off",
1014
1092
  "@typescript-eslint/no-unsafe-unary-minus": "off",
1093
+ "@typescript-eslint/no-unused-expressions": "off",
1094
+ "@typescript-eslint/no-unused-vars": "off",
1095
+ "@typescript-eslint/no-useless-constructor": "off",
1015
1096
  "@typescript-eslint/no-useless-default-assignment": "off",
1097
+ "@typescript-eslint/no-useless-empty-export": "off",
1098
+ "@typescript-eslint/no-wrapper-object-types": "off",
1016
1099
  "@typescript-eslint/non-nullable-type-assertion-style": "off",
1017
1100
  "@typescript-eslint/only-throw-error": "off",
1101
+ "@typescript-eslint/prefer-as-const": "off",
1018
1102
  "@typescript-eslint/prefer-destructuring": "off",
1103
+ "@typescript-eslint/prefer-enum-initializers": "off",
1019
1104
  "@typescript-eslint/prefer-find": "off",
1105
+ "@typescript-eslint/prefer-for-of": "off",
1106
+ "@typescript-eslint/prefer-function-type": "off",
1020
1107
  "@typescript-eslint/prefer-includes": "off",
1108
+ "@typescript-eslint/prefer-literal-enum-member": "off",
1109
+ "@typescript-eslint/prefer-namespace-keyword": "off",
1021
1110
  "@typescript-eslint/prefer-nullish-coalescing": "off",
1022
1111
  "@typescript-eslint/prefer-optional-chain": "off",
1023
1112
  "@typescript-eslint/prefer-promise-reject-errors": "off",
1113
+ "@typescript-eslint/prefer-readonly": "off",
1024
1114
  "@typescript-eslint/prefer-readonly-parameter-types": "off",
1025
1115
  "@typescript-eslint/prefer-reduce-type-parameter": "off",
1026
1116
  "@typescript-eslint/prefer-regexp-exec": "off",
1027
1117
  "@typescript-eslint/prefer-return-this-type": "off",
1028
1118
  "@typescript-eslint/prefer-string-starts-ends-with": "off",
1119
+ "@typescript-eslint/promise-function-async": "off",
1029
1120
  "@typescript-eslint/related-getter-setter-pairs": "off",
1121
+ "@typescript-eslint/require-array-sort-compare": "off",
1030
1122
  "@typescript-eslint/require-await": "off",
1031
1123
  "@typescript-eslint/restrict-plus-operands": "off",
1032
1124
  "@typescript-eslint/restrict-template-expressions": "off",
1033
1125
  "@typescript-eslint/return-await": "off",
1034
1126
  "@typescript-eslint/strict-boolean-expressions": "off",
1035
1127
  "@typescript-eslint/strict-void-return": "off",
1128
+ "@typescript-eslint/switch-exhaustiveness-check": "off",
1129
+ "@typescript-eslint/triple-slash-reference": "off",
1036
1130
  "@typescript-eslint/unbound-method": "off",
1131
+ "@typescript-eslint/unified-signatures": "off",
1037
1132
  "@typescript-eslint/use-unknown-in-catch-callback-variable": "off",
1038
1133
  "constructor-super": "error",
1134
+ "dot-notation": "off",
1039
1135
  "getter-return": "error",
1136
+ "no-array-constructor": "off",
1040
1137
  "no-class-assign": "error",
1041
1138
  "no-const-assign": "error",
1042
1139
  "no-dupe-args": "error",
1043
1140
  "no-dupe-class-members": "error",
1044
1141
  "no-dupe-keys": "error",
1142
+ "no-empty-function": "off",
1045
1143
  "no-func-assign": "error",
1144
+ "no-implied-eval": "off",
1046
1145
  "no-import-assign": "error",
1047
1146
  "no-new-native-nonconstructor": "error",
1048
1147
  "no-new-symbol": "off",
1049
1148
  "no-obj-calls": "error",
1050
1149
  "no-redeclare": "error",
1150
+ "no-return-await": "off",
1051
1151
  "no-setter-return": "error",
1152
+ "no-shadow": "off",
1052
1153
  "no-this-before-super": "error",
1154
+ "no-throw-literal": "off",
1053
1155
  "no-undef": "error",
1054
1156
  "no-unreachable": "error",
1055
1157
  "no-unsafe-negation": "error",
1056
- "no-with": "error"
1158
+ "no-unused-expressions": "off",
1159
+ "no-unused-vars": "error",
1160
+ "no-useless-constructor": "off",
1161
+ "no-with": "error",
1162
+ "prefer-const": [
1163
+ "error",
1164
+ {
1165
+ "destructuring": "all"
1166
+ }
1167
+ ],
1168
+ "prefer-promise-reject-errors": "off",
1169
+ "require-await": "off"
1057
1170
  },
1058
1171
  },
1059
1172
 
@@ -1312,7 +1425,138 @@ export default [
1312
1425
  // Markdown/MDX code block linting
1313
1426
  {
1314
1427
  ...mdxPlugin.flatCodeBlocks,
1428
+ languageOptions: {
1429
+ ...mdxPlugin.flatCodeBlocks.languageOptions,
1430
+ parserOptions: {
1431
+ ...mdxPlugin.flatCodeBlocks.languageOptions?.parserOptions,
1432
+ projectService: false,
1433
+ },
1434
+ },
1315
1435
  rules: {
1436
+ ...{
1437
+ "@typescript-eslint/adjacent-overload-signatures": "off",
1438
+ "@typescript-eslint/array-type": "off",
1439
+ "@typescript-eslint/await-thenable": "off",
1440
+ "@typescript-eslint/ban-ts-comment": "off",
1441
+ "@typescript-eslint/ban-tslint-comment": "off",
1442
+ "@typescript-eslint/class-literal-property-style": "off",
1443
+ "@typescript-eslint/consistent-generic-constructors": "off",
1444
+ "@typescript-eslint/consistent-indexed-object-style": "off",
1445
+ "@typescript-eslint/consistent-type-assertions": "off",
1446
+ "@typescript-eslint/consistent-type-definitions": "off",
1447
+ "@typescript-eslint/consistent-type-exports": "off",
1448
+ "@typescript-eslint/consistent-type-imports": "off",
1449
+ "@typescript-eslint/dot-notation": "off",
1450
+ "@typescript-eslint/explicit-function-return-type": "off",
1451
+ "@typescript-eslint/explicit-member-accessibility": "off",
1452
+ "@typescript-eslint/member-ordering": "off",
1453
+ "@typescript-eslint/method-signature-style": "off",
1454
+ "@typescript-eslint/naming-convention": "off",
1455
+ "@typescript-eslint/no-array-constructor": "off",
1456
+ "@typescript-eslint/no-array-delete": "off",
1457
+ "@typescript-eslint/no-base-to-string": "off",
1458
+ "@typescript-eslint/no-confusing-non-null-assertion": "off",
1459
+ "@typescript-eslint/no-confusing-void-expression": "off",
1460
+ "@typescript-eslint/no-deprecated": "off",
1461
+ "@typescript-eslint/no-duplicate-enum-values": "off",
1462
+ "@typescript-eslint/no-duplicate-type-constituents": "off",
1463
+ "@typescript-eslint/no-dynamic-delete": "off",
1464
+ "@typescript-eslint/no-empty-function": "off",
1465
+ "@typescript-eslint/no-empty-object-type": "off",
1466
+ "@typescript-eslint/no-explicit-any": "off",
1467
+ "@typescript-eslint/no-extra-non-null-assertion": "off",
1468
+ "@typescript-eslint/no-extraneous-class": "off",
1469
+ "@typescript-eslint/no-floating-promises": "off",
1470
+ "@typescript-eslint/no-for-in-array": "off",
1471
+ "@typescript-eslint/no-implied-eval": "off",
1472
+ "@typescript-eslint/no-import-type-side-effects": "off",
1473
+ "@typescript-eslint/no-inferrable-types": "off",
1474
+ "@typescript-eslint/no-invalid-void-type": "off",
1475
+ "@typescript-eslint/no-magic-numbers": "off",
1476
+ "@typescript-eslint/no-meaningless-void-operator": "off",
1477
+ "@typescript-eslint/no-misused-new": "off",
1478
+ "@typescript-eslint/no-misused-promises": "off",
1479
+ "@typescript-eslint/no-misused-spread": "off",
1480
+ "@typescript-eslint/no-mixed-enums": "off",
1481
+ "@typescript-eslint/no-namespace": "off",
1482
+ "@typescript-eslint/no-non-null-asserted-nullish-coalescing": "off",
1483
+ "@typescript-eslint/no-non-null-asserted-optional-chain": "off",
1484
+ "@typescript-eslint/no-non-null-assertion": "off",
1485
+ "@typescript-eslint/no-redundant-type-constituents": "off",
1486
+ "@typescript-eslint/no-require-imports": "off",
1487
+ "@typescript-eslint/no-shadow": "off",
1488
+ "@typescript-eslint/no-this-alias": "off",
1489
+ "@typescript-eslint/no-unnecessary-boolean-literal-compare": "off",
1490
+ "@typescript-eslint/no-unnecessary-condition": "off",
1491
+ "@typescript-eslint/no-unnecessary-parameter-property-assignment": "off",
1492
+ "@typescript-eslint/no-unnecessary-qualifier": "off",
1493
+ "@typescript-eslint/no-unnecessary-template-expression": "off",
1494
+ "@typescript-eslint/no-unnecessary-type-arguments": "off",
1495
+ "@typescript-eslint/no-unnecessary-type-assertion": "off",
1496
+ "@typescript-eslint/no-unnecessary-type-constraint": "off",
1497
+ "@typescript-eslint/no-unnecessary-type-conversion": "off",
1498
+ "@typescript-eslint/no-unnecessary-type-parameters": "off",
1499
+ "@typescript-eslint/no-unsafe-argument": "off",
1500
+ "@typescript-eslint/no-unsafe-assignment": "off",
1501
+ "@typescript-eslint/no-unsafe-call": "off",
1502
+ "@typescript-eslint/no-unsafe-declaration-merging": "off",
1503
+ "@typescript-eslint/no-unsafe-enum-comparison": "off",
1504
+ "@typescript-eslint/no-unsafe-function-type": "off",
1505
+ "@typescript-eslint/no-unsafe-member-access": "off",
1506
+ "@typescript-eslint/no-unsafe-return": "off",
1507
+ "@typescript-eslint/no-unsafe-type-assertion": "off",
1508
+ "@typescript-eslint/no-unsafe-unary-minus": "off",
1509
+ "@typescript-eslint/no-unused-expressions": "off",
1510
+ "@typescript-eslint/no-unused-vars": "off",
1511
+ "@typescript-eslint/no-useless-constructor": "off",
1512
+ "@typescript-eslint/no-useless-default-assignment": "off",
1513
+ "@typescript-eslint/no-useless-empty-export": "off",
1514
+ "@typescript-eslint/no-wrapper-object-types": "off",
1515
+ "@typescript-eslint/non-nullable-type-assertion-style": "off",
1516
+ "@typescript-eslint/only-throw-error": "off",
1517
+ "@typescript-eslint/prefer-as-const": "off",
1518
+ "@typescript-eslint/prefer-enum-initializers": "off",
1519
+ "@typescript-eslint/prefer-find": "off",
1520
+ "@typescript-eslint/prefer-for-of": "off",
1521
+ "@typescript-eslint/prefer-function-type": "off",
1522
+ "@typescript-eslint/prefer-includes": "off",
1523
+ "@typescript-eslint/prefer-literal-enum-member": "off",
1524
+ "@typescript-eslint/prefer-namespace-keyword": "off",
1525
+ "@typescript-eslint/prefer-nullish-coalescing": "off",
1526
+ "@typescript-eslint/prefer-optional-chain": "off",
1527
+ "@typescript-eslint/prefer-promise-reject-errors": "off",
1528
+ "@typescript-eslint/prefer-readonly": "off",
1529
+ "@typescript-eslint/prefer-reduce-type-parameter": "off",
1530
+ "@typescript-eslint/prefer-regexp-exec": "off",
1531
+ "@typescript-eslint/prefer-return-this-type": "off",
1532
+ "@typescript-eslint/prefer-string-starts-ends-with": "off",
1533
+ "@typescript-eslint/promise-function-async": "off",
1534
+ "@typescript-eslint/related-getter-setter-pairs": "off",
1535
+ "@typescript-eslint/require-array-sort-compare": "off",
1536
+ "@typescript-eslint/require-await": "off",
1537
+ "@typescript-eslint/restrict-plus-operands": "off",
1538
+ "@typescript-eslint/restrict-template-expressions": "off",
1539
+ "@typescript-eslint/return-await": "off",
1540
+ "@typescript-eslint/strict-boolean-expressions": "off",
1541
+ "@typescript-eslint/strict-void-return": "off",
1542
+ "@typescript-eslint/switch-exhaustiveness-check": "off",
1543
+ "@typescript-eslint/triple-slash-reference": "off",
1544
+ "@typescript-eslint/unbound-method": "off",
1545
+ "@typescript-eslint/unified-signatures": "off",
1546
+ "@typescript-eslint/use-unknown-in-catch-callback-variable": "off",
1547
+ "dot-notation": "off",
1548
+ "no-array-constructor": "off",
1549
+ "no-empty-function": "off",
1550
+ "no-implied-eval": "off",
1551
+ "no-return-await": "off",
1552
+ "no-shadow": "off",
1553
+ "no-throw-literal": "off",
1554
+ "no-useless-constructor": "off",
1555
+ "prefer-promise-reject-errors": "off",
1556
+ "require-await": "off",
1557
+ "strict": "off",
1558
+ "unicode-bom": "off"
1559
+ },
1316
1560
  ...mdxPlugin.flatCodeBlocks.rules,
1317
1561
  "eol-last": "off",
1318
1562
  "no-undef": "off",