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,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": [
@@ -506,17 +498,35 @@ export default [
506
498
  "maxDepth": 3
507
499
  }
508
500
  ],
509
- "import/no-duplicates": [
501
+ "import/no-duplicates": "error",
502
+ "import/no-empty-named-blocks": "error",
503
+ "import/no-extraneous-dependencies": [
510
504
  "error",
511
505
  {
512
- "prefer-inline": true
506
+ "includeTypes": true
513
507
  }
514
508
  ],
515
- "import/no-empty-named-blocks": "error",
516
509
  "import/no-mutable-exports": "error",
517
510
  "import/no-named-as-default": "error",
518
511
  "import/no-named-as-default-member": "error",
512
+ "import/no-named-default": "error",
519
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
+ ],
520
530
  "import/no-useless-path-segments": "error",
521
531
  "jsdoc/check-access": "error",
522
532
  "jsdoc/check-alignment": "error",
@@ -551,9 +561,6 @@ export default [
551
561
  "jsdoc/require-yields-type": "error",
552
562
  "jsdoc/ts-no-empty-object-type": "error",
553
563
  "jsdoc/valid-types": "error",
554
- "jsx-a11y/interactive-supports-focus": "error",
555
- "jsx-a11y/no-noninteractive-element-interactions": "error",
556
- "jsx-a11y/no-static-element-interactions": "error",
557
564
  "logical-assignment-operators": [
558
565
  "error",
559
566
  "always",
@@ -576,7 +583,7 @@ export default [
576
583
  "max-lines-per-function": [
577
584
  "error",
578
585
  {
579
- "max": 50,
586
+ "max": 100,
580
587
  "skipBlankLines": true,
581
588
  "skipComments": true
582
589
  }
@@ -625,6 +632,7 @@ export default [
625
632
  "no-fallthrough": "error",
626
633
  "no-global-assign": "error",
627
634
  "no-implicit-coercion": "error",
635
+ "no-implicit-globals": "error",
628
636
  "no-irregular-whitespace": "error",
629
637
  "no-iterator": "error",
630
638
  "no-labels": "error",
@@ -660,7 +668,12 @@ export default [
660
668
  "no-script-url": "error",
661
669
  "no-self-assign": "error",
662
670
  "no-self-compare": "error",
663
- "no-sequences": "error",
671
+ "no-sequences": [
672
+ "error",
673
+ {
674
+ "allowInParentheses": false
675
+ }
676
+ ],
664
677
  "no-shadow-restricted-names": "error",
665
678
  "no-sparse-arrays": "error",
666
679
  "no-template-curly-in-string": "error",
@@ -675,18 +688,23 @@ export default [
675
688
  "no-useless-assignment": "error",
676
689
  "no-useless-call": "error",
677
690
  "no-useless-catch": "error",
678
- "no-useless-computed-key": "error",
691
+ "no-useless-computed-key": [
692
+ "error",
693
+ {
694
+ "enforceForClassMembers": true
695
+ }
696
+ ],
679
697
  "no-useless-concat": "error",
680
698
  "no-useless-escape": "error",
681
699
  "no-useless-rename": "error",
682
700
  "no-useless-return": "error",
683
701
  "no-var": "error",
684
702
  "no-warning-comments": "warn",
685
- "node/no-unsupported-features/node-builtins": "error",
686
703
  "object-shorthand": [
687
704
  "error",
688
705
  "always",
689
706
  {
707
+ "avoidExplicitReturnArrows": true,
690
708
  "avoidQuotes": true
691
709
  }
692
710
  ],
@@ -721,14 +739,10 @@ export default [
721
739
  "allowNamedFunctions": true
722
740
  }
723
741
  ],
724
- "prefer-const": [
725
- "error",
726
- {
727
- "destructuring": "all"
728
- }
729
- ],
742
+ "prefer-const": "error",
730
743
  "prefer-exponentiation-operator": "error",
731
744
  "prefer-named-capture-group": "error",
745
+ "prefer-numeric-literals": "error",
732
746
  "prefer-object-has-own": "error",
733
747
  "prefer-object-spread": "error",
734
748
  "prefer-regex-literals": "error",
@@ -883,7 +897,8 @@ export default [
883
897
  {
884
898
  "cases": {
885
899
  "camelCase": true,
886
- "pascalCase": true
900
+ "pascalCase": true,
901
+ "kebabCase": true
887
902
  }
888
903
  }
889
904
  ],
@@ -917,7 +932,12 @@ export default [
917
932
  "unicorn/no-useless-promise-resolve-reject": "error",
918
933
  "unicorn/no-useless-spread": "error",
919
934
  "unicorn/no-useless-switch-case": "error",
920
- "unicorn/no-useless-undefined": "error",
935
+ "unicorn/no-useless-undefined": [
936
+ "warn",
937
+ {
938
+ "checkArguments": false
939
+ }
940
+ ],
921
941
  "unicorn/no-zero-fractions": "error",
922
942
  "unicorn/numeric-separators-style": "error",
923
943
  "unicorn/prefer-array-find": "error",
@@ -928,6 +948,7 @@ export default [
928
948
  "unicorn/prefer-at": "error",
929
949
  "unicorn/prefer-date-now": "error",
930
950
  "unicorn/prefer-default-parameters": "error",
951
+ "unicorn/prefer-dom-node-dataset": "error",
931
952
  "unicorn/prefer-export-from": [
932
953
  "error",
933
954
  {
@@ -974,8 +995,19 @@ export default [
974
995
  "unicorn/text-encoding-identifier-case": "error",
975
996
  "unicorn/throw-new-error": "error",
976
997
  "unused-imports/no-unused-imports": "error",
977
- "use-isnan": "error",
978
- "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
+ ],
979
1011
  "yoda": "error"
980
1012
  },
981
1013
  },
@@ -985,78 +1017,156 @@ export default [
985
1017
  name: "eslint-config-setup/js-compat",
986
1018
  files: ["**/*.{js,mjs,cjs}"],
987
1019
  rules: {
1020
+ "@typescript-eslint/adjacent-overload-signatures": "off",
1021
+ "@typescript-eslint/array-type": "off",
988
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",
989
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",
990
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",
991
1040
  "@typescript-eslint/no-array-delete": "off",
992
1041
  "@typescript-eslint/no-base-to-string": "off",
1042
+ "@typescript-eslint/no-confusing-non-null-assertion": "off",
993
1043
  "@typescript-eslint/no-confusing-void-expression": "off",
994
1044
  "@typescript-eslint/no-deprecated": "off",
1045
+ "@typescript-eslint/no-duplicate-enum-values": "off",
995
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",
996
1054
  "@typescript-eslint/no-for-in-array": "off",
997
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",
998
1060
  "@typescript-eslint/no-meaningless-void-operator": "off",
1061
+ "@typescript-eslint/no-misused-new": "off",
999
1062
  "@typescript-eslint/no-misused-promises": "off",
1000
1063
  "@typescript-eslint/no-misused-spread": "off",
1001
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",
1002
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",
1003
1073
  "@typescript-eslint/no-unnecessary-boolean-literal-compare": "off",
1004
1074
  "@typescript-eslint/no-unnecessary-condition": "off",
1075
+ "@typescript-eslint/no-unnecessary-parameter-property-assignment": "off",
1005
1076
  "@typescript-eslint/no-unnecessary-qualifier": "off",
1006
1077
  "@typescript-eslint/no-unnecessary-template-expression": "off",
1007
1078
  "@typescript-eslint/no-unnecessary-type-arguments": "off",
1008
1079
  "@typescript-eslint/no-unnecessary-type-assertion": "off",
1080
+ "@typescript-eslint/no-unnecessary-type-constraint": "off",
1009
1081
  "@typescript-eslint/no-unnecessary-type-conversion": "off",
1010
1082
  "@typescript-eslint/no-unnecessary-type-parameters": "off",
1011
1083
  "@typescript-eslint/no-unsafe-argument": "off",
1012
1084
  "@typescript-eslint/no-unsafe-assignment": "off",
1013
1085
  "@typescript-eslint/no-unsafe-call": "off",
1086
+ "@typescript-eslint/no-unsafe-declaration-merging": "off",
1014
1087
  "@typescript-eslint/no-unsafe-enum-comparison": "off",
1088
+ "@typescript-eslint/no-unsafe-function-type": "off",
1015
1089
  "@typescript-eslint/no-unsafe-member-access": "off",
1016
1090
  "@typescript-eslint/no-unsafe-return": "off",
1091
+ "@typescript-eslint/no-unsafe-type-assertion": "off",
1017
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",
1018
1096
  "@typescript-eslint/no-useless-default-assignment": "off",
1097
+ "@typescript-eslint/no-useless-empty-export": "off",
1098
+ "@typescript-eslint/no-wrapper-object-types": "off",
1019
1099
  "@typescript-eslint/non-nullable-type-assertion-style": "off",
1020
1100
  "@typescript-eslint/only-throw-error": "off",
1101
+ "@typescript-eslint/prefer-as-const": "off",
1021
1102
  "@typescript-eslint/prefer-destructuring": "off",
1103
+ "@typescript-eslint/prefer-enum-initializers": "off",
1022
1104
  "@typescript-eslint/prefer-find": "off",
1105
+ "@typescript-eslint/prefer-for-of": "off",
1106
+ "@typescript-eslint/prefer-function-type": "off",
1023
1107
  "@typescript-eslint/prefer-includes": "off",
1108
+ "@typescript-eslint/prefer-literal-enum-member": "off",
1109
+ "@typescript-eslint/prefer-namespace-keyword": "off",
1024
1110
  "@typescript-eslint/prefer-nullish-coalescing": "off",
1025
1111
  "@typescript-eslint/prefer-optional-chain": "off",
1026
1112
  "@typescript-eslint/prefer-promise-reject-errors": "off",
1113
+ "@typescript-eslint/prefer-readonly": "off",
1027
1114
  "@typescript-eslint/prefer-readonly-parameter-types": "off",
1028
1115
  "@typescript-eslint/prefer-reduce-type-parameter": "off",
1029
1116
  "@typescript-eslint/prefer-regexp-exec": "off",
1030
1117
  "@typescript-eslint/prefer-return-this-type": "off",
1031
1118
  "@typescript-eslint/prefer-string-starts-ends-with": "off",
1119
+ "@typescript-eslint/promise-function-async": "off",
1032
1120
  "@typescript-eslint/related-getter-setter-pairs": "off",
1121
+ "@typescript-eslint/require-array-sort-compare": "off",
1033
1122
  "@typescript-eslint/require-await": "off",
1034
1123
  "@typescript-eslint/restrict-plus-operands": "off",
1035
1124
  "@typescript-eslint/restrict-template-expressions": "off",
1036
1125
  "@typescript-eslint/return-await": "off",
1037
1126
  "@typescript-eslint/strict-boolean-expressions": "off",
1038
1127
  "@typescript-eslint/strict-void-return": "off",
1128
+ "@typescript-eslint/switch-exhaustiveness-check": "off",
1129
+ "@typescript-eslint/triple-slash-reference": "off",
1039
1130
  "@typescript-eslint/unbound-method": "off",
1131
+ "@typescript-eslint/unified-signatures": "off",
1040
1132
  "@typescript-eslint/use-unknown-in-catch-callback-variable": "off",
1041
1133
  "constructor-super": "error",
1134
+ "dot-notation": "off",
1042
1135
  "getter-return": "error",
1136
+ "no-array-constructor": "off",
1043
1137
  "no-class-assign": "error",
1044
1138
  "no-const-assign": "error",
1045
1139
  "no-dupe-args": "error",
1046
1140
  "no-dupe-class-members": "error",
1047
1141
  "no-dupe-keys": "error",
1142
+ "no-empty-function": "off",
1048
1143
  "no-func-assign": "error",
1144
+ "no-implied-eval": "off",
1049
1145
  "no-import-assign": "error",
1050
1146
  "no-new-native-nonconstructor": "error",
1051
1147
  "no-new-symbol": "off",
1052
1148
  "no-obj-calls": "error",
1053
1149
  "no-redeclare": "error",
1150
+ "no-return-await": "off",
1054
1151
  "no-setter-return": "error",
1152
+ "no-shadow": "off",
1055
1153
  "no-this-before-super": "error",
1154
+ "no-throw-literal": "off",
1056
1155
  "no-undef": "error",
1057
1156
  "no-unreachable": "error",
1058
1157
  "no-unsafe-negation": "error",
1059
- "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"
1060
1170
  },
1061
1171
  },
1062
1172
 
@@ -1315,7 +1425,138 @@ export default [
1315
1425
  // Markdown/MDX code block linting
1316
1426
  {
1317
1427
  ...mdxPlugin.flatCodeBlocks,
1428
+ languageOptions: {
1429
+ ...mdxPlugin.flatCodeBlocks.languageOptions,
1430
+ parserOptions: {
1431
+ ...mdxPlugin.flatCodeBlocks.languageOptions?.parserOptions,
1432
+ projectService: false,
1433
+ },
1434
+ },
1318
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
+ },
1319
1560
  ...mdxPlugin.flatCodeBlocks.rules,
1320
1561
  "eol-last": "off",
1321
1562
  "no-undef": "off",