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,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,8 +897,12 @@ export default [
883
897
  {
884
898
  "cases": {
885
899
  "camelCase": true,
886
- "pascalCase": true
887
- }
900
+ "pascalCase": true,
901
+ "kebabCase": true
902
+ },
903
+ "ignore": [
904
+ "__tests__"
905
+ ]
888
906
  }
889
907
  ],
890
908
  "unicorn/new-for-builtins": "error",
@@ -892,12 +910,12 @@ export default [
892
910
  "unicorn/no-accessor-recursion": "error",
893
911
  "unicorn/no-anonymous-default-export": "error",
894
912
  "unicorn/no-array-callback-reference": "error",
895
- "unicorn/no-array-for-each": "error",
896
913
  "unicorn/no-array-method-this-argument": "error",
897
914
  "unicorn/no-array-push-push": "error",
898
915
  "unicorn/no-array-reduce": "error",
899
916
  "unicorn/no-await-expression-member": "error",
900
917
  "unicorn/no-await-in-promise-methods": "error",
918
+ "unicorn/no-for-each": "error",
901
919
  "unicorn/no-for-loop": "error",
902
920
  "unicorn/no-instanceof-builtins": "error",
903
921
  "unicorn/no-invalid-fetch-options": "error",
@@ -917,7 +935,12 @@ export default [
917
935
  "unicorn/no-useless-promise-resolve-reject": "error",
918
936
  "unicorn/no-useless-spread": "error",
919
937
  "unicorn/no-useless-switch-case": "error",
920
- "unicorn/no-useless-undefined": "error",
938
+ "unicorn/no-useless-undefined": [
939
+ "warn",
940
+ {
941
+ "checkArguments": false
942
+ }
943
+ ],
921
944
  "unicorn/no-zero-fractions": "error",
922
945
  "unicorn/numeric-separators-style": "error",
923
946
  "unicorn/prefer-array-find": "error",
@@ -928,10 +951,11 @@ export default [
928
951
  "unicorn/prefer-at": "error",
929
952
  "unicorn/prefer-date-now": "error",
930
953
  "unicorn/prefer-default-parameters": "error",
954
+ "unicorn/prefer-dom-node-dataset": "error",
931
955
  "unicorn/prefer-export-from": [
932
956
  "error",
933
957
  {
934
- "ignoreUsedVariables": true
958
+ "checkUsedVariables": false
935
959
  }
936
960
  ],
937
961
  "unicorn/prefer-global-this": "error",
@@ -974,8 +998,19 @@ export default [
974
998
  "unicorn/text-encoding-identifier-case": "error",
975
999
  "unicorn/throw-new-error": "error",
976
1000
  "unused-imports/no-unused-imports": "error",
977
- "use-isnan": "error",
978
- "valid-typeof": "error",
1001
+ "use-isnan": [
1002
+ "error",
1003
+ {
1004
+ "enforceForIndexOf": true,
1005
+ "enforceForSwitchCase": true
1006
+ }
1007
+ ],
1008
+ "valid-typeof": [
1009
+ "error",
1010
+ {
1011
+ "requireStringLiterals": true
1012
+ }
1013
+ ],
979
1014
  "yoda": "error"
980
1015
  },
981
1016
  },
@@ -985,78 +1020,156 @@ export default [
985
1020
  name: "eslint-config-setup/js-compat",
986
1021
  files: ["**/*.{js,mjs,cjs}"],
987
1022
  rules: {
1023
+ "@typescript-eslint/adjacent-overload-signatures": "off",
1024
+ "@typescript-eslint/array-type": "off",
988
1025
  "@typescript-eslint/await-thenable": "off",
1026
+ "@typescript-eslint/ban-ts-comment": "off",
1027
+ "@typescript-eslint/ban-tslint-comment": "off",
1028
+ "@typescript-eslint/class-literal-property-style": "off",
1029
+ "@typescript-eslint/consistent-generic-constructors": "off",
1030
+ "@typescript-eslint/consistent-indexed-object-style": "off",
989
1031
  "@typescript-eslint/consistent-return": "off",
1032
+ "@typescript-eslint/consistent-type-assertions": "off",
1033
+ "@typescript-eslint/consistent-type-definitions": "off",
1034
+ "@typescript-eslint/consistent-type-exports": "off",
1035
+ "@typescript-eslint/consistent-type-imports": "off",
990
1036
  "@typescript-eslint/dot-notation": "off",
1037
+ "@typescript-eslint/explicit-function-return-type": "off",
1038
+ "@typescript-eslint/explicit-member-accessibility": "off",
1039
+ "@typescript-eslint/member-ordering": "off",
1040
+ "@typescript-eslint/method-signature-style": "off",
1041
+ "@typescript-eslint/naming-convention": "off",
1042
+ "@typescript-eslint/no-array-constructor": "off",
991
1043
  "@typescript-eslint/no-array-delete": "off",
992
1044
  "@typescript-eslint/no-base-to-string": "off",
1045
+ "@typescript-eslint/no-confusing-non-null-assertion": "off",
993
1046
  "@typescript-eslint/no-confusing-void-expression": "off",
994
1047
  "@typescript-eslint/no-deprecated": "off",
1048
+ "@typescript-eslint/no-duplicate-enum-values": "off",
995
1049
  "@typescript-eslint/no-duplicate-type-constituents": "off",
1050
+ "@typescript-eslint/no-dynamic-delete": "off",
1051
+ "@typescript-eslint/no-empty-function": "off",
1052
+ "@typescript-eslint/no-empty-object-type": "off",
1053
+ "@typescript-eslint/no-explicit-any": "off",
1054
+ "@typescript-eslint/no-extra-non-null-assertion": "off",
1055
+ "@typescript-eslint/no-extraneous-class": "off",
1056
+ "@typescript-eslint/no-floating-promises": "off",
996
1057
  "@typescript-eslint/no-for-in-array": "off",
997
1058
  "@typescript-eslint/no-implied-eval": "off",
1059
+ "@typescript-eslint/no-import-type-side-effects": "off",
1060
+ "@typescript-eslint/no-inferrable-types": "off",
1061
+ "@typescript-eslint/no-invalid-void-type": "off",
1062
+ "@typescript-eslint/no-magic-numbers": "off",
998
1063
  "@typescript-eslint/no-meaningless-void-operator": "off",
1064
+ "@typescript-eslint/no-misused-new": "off",
999
1065
  "@typescript-eslint/no-misused-promises": "off",
1000
1066
  "@typescript-eslint/no-misused-spread": "off",
1001
1067
  "@typescript-eslint/no-mixed-enums": "off",
1068
+ "@typescript-eslint/no-namespace": "off",
1069
+ "@typescript-eslint/no-non-null-asserted-nullish-coalescing": "off",
1070
+ "@typescript-eslint/no-non-null-asserted-optional-chain": "off",
1071
+ "@typescript-eslint/no-non-null-assertion": "off",
1002
1072
  "@typescript-eslint/no-redundant-type-constituents": "off",
1073
+ "@typescript-eslint/no-require-imports": "off",
1074
+ "@typescript-eslint/no-shadow": "off",
1075
+ "@typescript-eslint/no-this-alias": "off",
1003
1076
  "@typescript-eslint/no-unnecessary-boolean-literal-compare": "off",
1004
1077
  "@typescript-eslint/no-unnecessary-condition": "off",
1078
+ "@typescript-eslint/no-unnecessary-parameter-property-assignment": "off",
1005
1079
  "@typescript-eslint/no-unnecessary-qualifier": "off",
1006
1080
  "@typescript-eslint/no-unnecessary-template-expression": "off",
1007
1081
  "@typescript-eslint/no-unnecessary-type-arguments": "off",
1008
1082
  "@typescript-eslint/no-unnecessary-type-assertion": "off",
1083
+ "@typescript-eslint/no-unnecessary-type-constraint": "off",
1009
1084
  "@typescript-eslint/no-unnecessary-type-conversion": "off",
1010
1085
  "@typescript-eslint/no-unnecessary-type-parameters": "off",
1011
1086
  "@typescript-eslint/no-unsafe-argument": "off",
1012
1087
  "@typescript-eslint/no-unsafe-assignment": "off",
1013
1088
  "@typescript-eslint/no-unsafe-call": "off",
1089
+ "@typescript-eslint/no-unsafe-declaration-merging": "off",
1014
1090
  "@typescript-eslint/no-unsafe-enum-comparison": "off",
1091
+ "@typescript-eslint/no-unsafe-function-type": "off",
1015
1092
  "@typescript-eslint/no-unsafe-member-access": "off",
1016
1093
  "@typescript-eslint/no-unsafe-return": "off",
1094
+ "@typescript-eslint/no-unsafe-type-assertion": "off",
1017
1095
  "@typescript-eslint/no-unsafe-unary-minus": "off",
1096
+ "@typescript-eslint/no-unused-expressions": "off",
1097
+ "@typescript-eslint/no-unused-vars": "off",
1098
+ "@typescript-eslint/no-useless-constructor": "off",
1018
1099
  "@typescript-eslint/no-useless-default-assignment": "off",
1100
+ "@typescript-eslint/no-useless-empty-export": "off",
1101
+ "@typescript-eslint/no-wrapper-object-types": "off",
1019
1102
  "@typescript-eslint/non-nullable-type-assertion-style": "off",
1020
1103
  "@typescript-eslint/only-throw-error": "off",
1104
+ "@typescript-eslint/prefer-as-const": "off",
1021
1105
  "@typescript-eslint/prefer-destructuring": "off",
1106
+ "@typescript-eslint/prefer-enum-initializers": "off",
1022
1107
  "@typescript-eslint/prefer-find": "off",
1108
+ "@typescript-eslint/prefer-for-of": "off",
1109
+ "@typescript-eslint/prefer-function-type": "off",
1023
1110
  "@typescript-eslint/prefer-includes": "off",
1111
+ "@typescript-eslint/prefer-literal-enum-member": "off",
1112
+ "@typescript-eslint/prefer-namespace-keyword": "off",
1024
1113
  "@typescript-eslint/prefer-nullish-coalescing": "off",
1025
1114
  "@typescript-eslint/prefer-optional-chain": "off",
1026
1115
  "@typescript-eslint/prefer-promise-reject-errors": "off",
1116
+ "@typescript-eslint/prefer-readonly": "off",
1027
1117
  "@typescript-eslint/prefer-readonly-parameter-types": "off",
1028
1118
  "@typescript-eslint/prefer-reduce-type-parameter": "off",
1029
1119
  "@typescript-eslint/prefer-regexp-exec": "off",
1030
1120
  "@typescript-eslint/prefer-return-this-type": "off",
1031
1121
  "@typescript-eslint/prefer-string-starts-ends-with": "off",
1122
+ "@typescript-eslint/promise-function-async": "off",
1032
1123
  "@typescript-eslint/related-getter-setter-pairs": "off",
1124
+ "@typescript-eslint/require-array-sort-compare": "off",
1033
1125
  "@typescript-eslint/require-await": "off",
1034
1126
  "@typescript-eslint/restrict-plus-operands": "off",
1035
1127
  "@typescript-eslint/restrict-template-expressions": "off",
1036
1128
  "@typescript-eslint/return-await": "off",
1037
1129
  "@typescript-eslint/strict-boolean-expressions": "off",
1038
1130
  "@typescript-eslint/strict-void-return": "off",
1131
+ "@typescript-eslint/switch-exhaustiveness-check": "off",
1132
+ "@typescript-eslint/triple-slash-reference": "off",
1039
1133
  "@typescript-eslint/unbound-method": "off",
1134
+ "@typescript-eslint/unified-signatures": "off",
1040
1135
  "@typescript-eslint/use-unknown-in-catch-callback-variable": "off",
1041
1136
  "constructor-super": "error",
1137
+ "dot-notation": "off",
1042
1138
  "getter-return": "error",
1139
+ "no-array-constructor": "off",
1043
1140
  "no-class-assign": "error",
1044
1141
  "no-const-assign": "error",
1045
1142
  "no-dupe-args": "error",
1046
1143
  "no-dupe-class-members": "error",
1047
1144
  "no-dupe-keys": "error",
1145
+ "no-empty-function": "off",
1048
1146
  "no-func-assign": "error",
1147
+ "no-implied-eval": "off",
1049
1148
  "no-import-assign": "error",
1050
1149
  "no-new-native-nonconstructor": "error",
1051
1150
  "no-new-symbol": "off",
1052
1151
  "no-obj-calls": "error",
1053
1152
  "no-redeclare": "error",
1153
+ "no-return-await": "off",
1054
1154
  "no-setter-return": "error",
1155
+ "no-shadow": "off",
1055
1156
  "no-this-before-super": "error",
1157
+ "no-throw-literal": "off",
1056
1158
  "no-undef": "error",
1057
1159
  "no-unreachable": "error",
1058
1160
  "no-unsafe-negation": "error",
1059
- "no-with": "error"
1161
+ "no-unused-expressions": "off",
1162
+ "no-unused-vars": "error",
1163
+ "no-useless-constructor": "off",
1164
+ "no-with": "error",
1165
+ "prefer-const": [
1166
+ "error",
1167
+ {
1168
+ "destructuring": "all"
1169
+ }
1170
+ ],
1171
+ "prefer-promise-reject-errors": "off",
1172
+ "require-await": "off"
1060
1173
  },
1061
1174
  },
1062
1175
 
@@ -1315,7 +1428,138 @@ export default [
1315
1428
  // Markdown/MDX code block linting
1316
1429
  {
1317
1430
  ...mdxPlugin.flatCodeBlocks,
1431
+ languageOptions: {
1432
+ ...mdxPlugin.flatCodeBlocks.languageOptions,
1433
+ parserOptions: {
1434
+ ...mdxPlugin.flatCodeBlocks.languageOptions?.parserOptions,
1435
+ projectService: false,
1436
+ },
1437
+ },
1318
1438
  rules: {
1439
+ ...{
1440
+ "@typescript-eslint/adjacent-overload-signatures": "off",
1441
+ "@typescript-eslint/array-type": "off",
1442
+ "@typescript-eslint/await-thenable": "off",
1443
+ "@typescript-eslint/ban-ts-comment": "off",
1444
+ "@typescript-eslint/ban-tslint-comment": "off",
1445
+ "@typescript-eslint/class-literal-property-style": "off",
1446
+ "@typescript-eslint/consistent-generic-constructors": "off",
1447
+ "@typescript-eslint/consistent-indexed-object-style": "off",
1448
+ "@typescript-eslint/consistent-type-assertions": "off",
1449
+ "@typescript-eslint/consistent-type-definitions": "off",
1450
+ "@typescript-eslint/consistent-type-exports": "off",
1451
+ "@typescript-eslint/consistent-type-imports": "off",
1452
+ "@typescript-eslint/dot-notation": "off",
1453
+ "@typescript-eslint/explicit-function-return-type": "off",
1454
+ "@typescript-eslint/explicit-member-accessibility": "off",
1455
+ "@typescript-eslint/member-ordering": "off",
1456
+ "@typescript-eslint/method-signature-style": "off",
1457
+ "@typescript-eslint/naming-convention": "off",
1458
+ "@typescript-eslint/no-array-constructor": "off",
1459
+ "@typescript-eslint/no-array-delete": "off",
1460
+ "@typescript-eslint/no-base-to-string": "off",
1461
+ "@typescript-eslint/no-confusing-non-null-assertion": "off",
1462
+ "@typescript-eslint/no-confusing-void-expression": "off",
1463
+ "@typescript-eslint/no-deprecated": "off",
1464
+ "@typescript-eslint/no-duplicate-enum-values": "off",
1465
+ "@typescript-eslint/no-duplicate-type-constituents": "off",
1466
+ "@typescript-eslint/no-dynamic-delete": "off",
1467
+ "@typescript-eslint/no-empty-function": "off",
1468
+ "@typescript-eslint/no-empty-object-type": "off",
1469
+ "@typescript-eslint/no-explicit-any": "off",
1470
+ "@typescript-eslint/no-extra-non-null-assertion": "off",
1471
+ "@typescript-eslint/no-extraneous-class": "off",
1472
+ "@typescript-eslint/no-floating-promises": "off",
1473
+ "@typescript-eslint/no-for-in-array": "off",
1474
+ "@typescript-eslint/no-implied-eval": "off",
1475
+ "@typescript-eslint/no-import-type-side-effects": "off",
1476
+ "@typescript-eslint/no-inferrable-types": "off",
1477
+ "@typescript-eslint/no-invalid-void-type": "off",
1478
+ "@typescript-eslint/no-magic-numbers": "off",
1479
+ "@typescript-eslint/no-meaningless-void-operator": "off",
1480
+ "@typescript-eslint/no-misused-new": "off",
1481
+ "@typescript-eslint/no-misused-promises": "off",
1482
+ "@typescript-eslint/no-misused-spread": "off",
1483
+ "@typescript-eslint/no-mixed-enums": "off",
1484
+ "@typescript-eslint/no-namespace": "off",
1485
+ "@typescript-eslint/no-non-null-asserted-nullish-coalescing": "off",
1486
+ "@typescript-eslint/no-non-null-asserted-optional-chain": "off",
1487
+ "@typescript-eslint/no-non-null-assertion": "off",
1488
+ "@typescript-eslint/no-redundant-type-constituents": "off",
1489
+ "@typescript-eslint/no-require-imports": "off",
1490
+ "@typescript-eslint/no-shadow": "off",
1491
+ "@typescript-eslint/no-this-alias": "off",
1492
+ "@typescript-eslint/no-unnecessary-boolean-literal-compare": "off",
1493
+ "@typescript-eslint/no-unnecessary-condition": "off",
1494
+ "@typescript-eslint/no-unnecessary-parameter-property-assignment": "off",
1495
+ "@typescript-eslint/no-unnecessary-qualifier": "off",
1496
+ "@typescript-eslint/no-unnecessary-template-expression": "off",
1497
+ "@typescript-eslint/no-unnecessary-type-arguments": "off",
1498
+ "@typescript-eslint/no-unnecessary-type-assertion": "off",
1499
+ "@typescript-eslint/no-unnecessary-type-constraint": "off",
1500
+ "@typescript-eslint/no-unnecessary-type-conversion": "off",
1501
+ "@typescript-eslint/no-unnecessary-type-parameters": "off",
1502
+ "@typescript-eslint/no-unsafe-argument": "off",
1503
+ "@typescript-eslint/no-unsafe-assignment": "off",
1504
+ "@typescript-eslint/no-unsafe-call": "off",
1505
+ "@typescript-eslint/no-unsafe-declaration-merging": "off",
1506
+ "@typescript-eslint/no-unsafe-enum-comparison": "off",
1507
+ "@typescript-eslint/no-unsafe-function-type": "off",
1508
+ "@typescript-eslint/no-unsafe-member-access": "off",
1509
+ "@typescript-eslint/no-unsafe-return": "off",
1510
+ "@typescript-eslint/no-unsafe-type-assertion": "off",
1511
+ "@typescript-eslint/no-unsafe-unary-minus": "off",
1512
+ "@typescript-eslint/no-unused-expressions": "off",
1513
+ "@typescript-eslint/no-unused-vars": "off",
1514
+ "@typescript-eslint/no-useless-constructor": "off",
1515
+ "@typescript-eslint/no-useless-default-assignment": "off",
1516
+ "@typescript-eslint/no-useless-empty-export": "off",
1517
+ "@typescript-eslint/no-wrapper-object-types": "off",
1518
+ "@typescript-eslint/non-nullable-type-assertion-style": "off",
1519
+ "@typescript-eslint/only-throw-error": "off",
1520
+ "@typescript-eslint/prefer-as-const": "off",
1521
+ "@typescript-eslint/prefer-enum-initializers": "off",
1522
+ "@typescript-eslint/prefer-find": "off",
1523
+ "@typescript-eslint/prefer-for-of": "off",
1524
+ "@typescript-eslint/prefer-function-type": "off",
1525
+ "@typescript-eslint/prefer-includes": "off",
1526
+ "@typescript-eslint/prefer-literal-enum-member": "off",
1527
+ "@typescript-eslint/prefer-namespace-keyword": "off",
1528
+ "@typescript-eslint/prefer-nullish-coalescing": "off",
1529
+ "@typescript-eslint/prefer-optional-chain": "off",
1530
+ "@typescript-eslint/prefer-promise-reject-errors": "off",
1531
+ "@typescript-eslint/prefer-readonly": "off",
1532
+ "@typescript-eslint/prefer-reduce-type-parameter": "off",
1533
+ "@typescript-eslint/prefer-regexp-exec": "off",
1534
+ "@typescript-eslint/prefer-return-this-type": "off",
1535
+ "@typescript-eslint/prefer-string-starts-ends-with": "off",
1536
+ "@typescript-eslint/promise-function-async": "off",
1537
+ "@typescript-eslint/related-getter-setter-pairs": "off",
1538
+ "@typescript-eslint/require-array-sort-compare": "off",
1539
+ "@typescript-eslint/require-await": "off",
1540
+ "@typescript-eslint/restrict-plus-operands": "off",
1541
+ "@typescript-eslint/restrict-template-expressions": "off",
1542
+ "@typescript-eslint/return-await": "off",
1543
+ "@typescript-eslint/strict-boolean-expressions": "off",
1544
+ "@typescript-eslint/strict-void-return": "off",
1545
+ "@typescript-eslint/switch-exhaustiveness-check": "off",
1546
+ "@typescript-eslint/triple-slash-reference": "off",
1547
+ "@typescript-eslint/unbound-method": "off",
1548
+ "@typescript-eslint/unified-signatures": "off",
1549
+ "@typescript-eslint/use-unknown-in-catch-callback-variable": "off",
1550
+ "dot-notation": "off",
1551
+ "no-array-constructor": "off",
1552
+ "no-empty-function": "off",
1553
+ "no-implied-eval": "off",
1554
+ "no-return-await": "off",
1555
+ "no-shadow": "off",
1556
+ "no-throw-literal": "off",
1557
+ "no-useless-constructor": "off",
1558
+ "prefer-promise-reject-errors": "off",
1559
+ "require-await": "off",
1560
+ "strict": "off",
1561
+ "unicode-bom": "off"
1562
+ },
1319
1563
  ...mdxPlugin.flatCodeBlocks.rules,
1320
1564
  "eol-last": "off",
1321
1565
  "no-undef": "off",