eslint-config-silverwind 96.0.10 → 97.1.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.
- package/dist/.eslintrc.d.cts +3 -0
- package/dist/.eslintrc.d.cts.map +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +83 -60
- package/dist/index.json +58 -58
- package/dist/node_modules/eslint-define-config/dist/index.d.ts +5268 -0
- package/dist/test.d.ts +3 -0
- package/dist/test.d.ts.map +1 -0
- package/package.json +14 -13
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":".eslintrc.d.cts","sourceRoot":"","sources":["../.eslintrc.cjs"],"names":[],"mappings":""}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EAAC,MAAM,EAAC,MAAM,QAAQ,CAAC;;AA4FnC,wBA2C4B"}
|
package/dist/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import comments from "@eslint-community/eslint-plugin-eslint-comments";
|
|
|
2
2
|
import stylisticJs from "@stylistic/eslint-plugin-js";
|
|
3
3
|
import stylisticJsx from "@stylistic/eslint-plugin-jsx";
|
|
4
4
|
import arrayFunc from "eslint-plugin-array-func";
|
|
5
|
-
import importPlugin from "eslint-plugin-import";
|
|
5
|
+
import importPlugin from "eslint-plugin-import-x";
|
|
6
6
|
import noUseExtendNative from "eslint-plugin-no-use-extend-native";
|
|
7
7
|
import regexp from "eslint-plugin-regexp";
|
|
8
8
|
import sonarjs from "eslint-plugin-sonarjs";
|
|
@@ -23,7 +23,10 @@ const browserGlobals = ["addEventListener", "blur", "close", "closed", "confirm"
|
|
|
23
23
|
const nodeGlobals = ["__dirname", "__filename"];
|
|
24
24
|
const restrictedWorkerGlobals = [...browserGlobals, ...nodeGlobals, "window"];
|
|
25
25
|
const restrictedGlobals = [...browserGlobals, ...nodeGlobals, "self"];
|
|
26
|
-
|
|
26
|
+
function o(n) {
|
|
27
|
+
return n;
|
|
28
|
+
}
|
|
29
|
+
const eslintrc = o({
|
|
27
30
|
"root": true,
|
|
28
31
|
"reportUnusedDisableDirectives": true,
|
|
29
32
|
"plugins": [
|
|
@@ -32,7 +35,7 @@ const eslintrc = {
|
|
|
32
35
|
"@typescript-eslint/eslint-plugin",
|
|
33
36
|
"eslint-plugin-array-func",
|
|
34
37
|
// "eslint-plugin-github", // causes peerDependency error with eslint 8 - https://github.com/github/eslint-plugin-github/issues/585
|
|
35
|
-
"eslint-plugin-import",
|
|
38
|
+
"eslint-plugin-import-x",
|
|
36
39
|
"eslint-plugin-no-use-extend-native",
|
|
37
40
|
"eslint-plugin-react",
|
|
38
41
|
"eslint-plugin-react-hooks",
|
|
@@ -56,11 +59,13 @@ const eslintrc = {
|
|
|
56
59
|
"node": true
|
|
57
60
|
},
|
|
58
61
|
"settings": {
|
|
59
|
-
"import/extensions": [".js", ".jsx", ".ts", ".tsx"],
|
|
60
|
-
"import/parsers": {
|
|
62
|
+
"import-x/extensions": [".js", ".jsx", ".ts", ".tsx"],
|
|
63
|
+
"import-x/parsers": {
|
|
61
64
|
"@typescript-eslint/parser": [".js", ".jsx", ".ts", ".tsx"]
|
|
62
65
|
},
|
|
63
|
-
"import/resolver":
|
|
66
|
+
"import-x/resolver": {
|
|
67
|
+
"typescript": true
|
|
68
|
+
},
|
|
64
69
|
"react": {
|
|
65
70
|
// used by eslint-plugin-react
|
|
66
71
|
version: "19"
|
|
@@ -172,7 +177,7 @@ const eslintrc = {
|
|
|
172
177
|
"vitest.global.*"
|
|
173
178
|
],
|
|
174
179
|
"rules": {
|
|
175
|
-
"import/no-unused-modules": [0]
|
|
180
|
+
"import-x/no-unused-modules": [0]
|
|
176
181
|
}
|
|
177
182
|
},
|
|
178
183
|
{
|
|
@@ -545,52 +550,53 @@ const eslintrc = {
|
|
|
545
550
|
"id-denylist": [0],
|
|
546
551
|
"id-length": [0],
|
|
547
552
|
"id-match": [0],
|
|
548
|
-
"import/consistent-type-specifier-style": [0],
|
|
549
|
-
"import/default": [0],
|
|
553
|
+
"import-x/consistent-type-specifier-style": [0],
|
|
554
|
+
"import-x/default": [0],
|
|
550
555
|
// has bugs, at least with monaco-editor package
|
|
551
|
-
"import/dynamic-import-chunkname": [0],
|
|
552
|
-
"import/export": [2],
|
|
553
|
-
"import/exports-last": [0],
|
|
554
|
-
"import/extensions": [2, "ignorePackages"],
|
|
555
|
-
"import/first": [2],
|
|
556
|
-
"import/group-exports": [0],
|
|
557
|
-
"import/max-dependencies": [0],
|
|
558
|
-
"import/named": [2],
|
|
559
|
-
"import/namespace": [0],
|
|
560
|
-
"import/newline-after-import": [0],
|
|
561
|
-
"import/no-absolute-path": [2],
|
|
562
|
-
"import/no-amd": [2],
|
|
563
|
-
"import/no-anonymous-default-export": [0],
|
|
564
|
-
"import/no-commonjs": [2, { "allowConditionalRequire": false }],
|
|
565
|
-
"import/no-cycle": [2, { "ignoreExternal": true, "maxDepth": 1
|
|
566
|
-
// disableScc is a massive speed gain
|
|
567
|
-
"import/no-default-export": [0],
|
|
568
|
-
"import/no-deprecated": [0],
|
|
569
|
-
|
|
570
|
-
"import/no-
|
|
571
|
-
"import/no-
|
|
572
|
-
"import/no-
|
|
573
|
-
"import/no-
|
|
574
|
-
"import/no-
|
|
575
|
-
"import/no-
|
|
576
|
-
"import/no-
|
|
577
|
-
"import/no-named-as-default
|
|
578
|
-
"import/no-named-default": [0],
|
|
579
|
-
"import/no-named-
|
|
580
|
-
"import/no-
|
|
581
|
-
"import/no-
|
|
582
|
-
"import/no-
|
|
583
|
-
"import/no-relative-
|
|
584
|
-
"import/no-
|
|
585
|
-
"import/no-
|
|
586
|
-
"import/no-
|
|
587
|
-
"import/no-
|
|
588
|
-
"import/no-
|
|
589
|
-
"import/no-
|
|
590
|
-
"import/no-
|
|
591
|
-
"import/
|
|
592
|
-
"import/
|
|
593
|
-
"import/
|
|
556
|
+
"import-x/dynamic-import-chunkname": [0],
|
|
557
|
+
"import-x/export": [2],
|
|
558
|
+
"import-x/exports-last": [0],
|
|
559
|
+
"import-x/extensions": [2, "ignorePackages", { "checkTypeImports": true }],
|
|
560
|
+
"import-x/first": [2],
|
|
561
|
+
"import-x/group-exports": [0],
|
|
562
|
+
"import-x/max-dependencies": [0],
|
|
563
|
+
"import-x/named": [2],
|
|
564
|
+
"import-x/namespace": [0],
|
|
565
|
+
"import-x/newline-after-import": [0],
|
|
566
|
+
"import-x/no-absolute-path": [2],
|
|
567
|
+
"import-x/no-amd": [2],
|
|
568
|
+
"import-x/no-anonymous-default-export": [0],
|
|
569
|
+
"import-x/no-commonjs": [2, { "allowConditionalRequire": false }],
|
|
570
|
+
"import-x/no-cycle": [2, { "ignoreExternal": true, "maxDepth": 1 }],
|
|
571
|
+
// disableScc is a massive speed gain for eslint-plugin-import
|
|
572
|
+
"import-x/no-default-export": [0],
|
|
573
|
+
"import-x/no-deprecated": [0],
|
|
574
|
+
// handled by @typescript-eslint/no-deprecated
|
|
575
|
+
"import-x/no-duplicates": [2],
|
|
576
|
+
"import-x/no-dynamic-require": [0],
|
|
577
|
+
"import-x/no-empty-named-blocks": [2],
|
|
578
|
+
"import-x/no-extraneous-dependencies": [2],
|
|
579
|
+
"import-x/no-import-module-exports": [0],
|
|
580
|
+
"import-x/no-internal-modules": [0],
|
|
581
|
+
"import-x/no-mutable-exports": [0],
|
|
582
|
+
"import-x/no-named-as-default": [0],
|
|
583
|
+
"import-x/no-named-as-default-member": [0],
|
|
584
|
+
"import-x/no-named-default": [0],
|
|
585
|
+
"import-x/no-named-export": [0],
|
|
586
|
+
"import-x/no-namespace": [0],
|
|
587
|
+
"import-x/no-nodejs-modules": [0],
|
|
588
|
+
"import-x/no-relative-packages": [0],
|
|
589
|
+
"import-x/no-relative-parent-imports": [0],
|
|
590
|
+
"import-x/no-restricted-paths": [0],
|
|
591
|
+
"import-x/no-self-import": [2],
|
|
592
|
+
"import-x/no-unassigned-import": [0],
|
|
593
|
+
"import-x/no-unresolved": [2, { "commonjs": true, "ignore": ["\\?.+$"] }],
|
|
594
|
+
"import-x/no-unused-modules": [2, { "unusedExports": true, "ignoreUnusedTypeExports": true }],
|
|
595
|
+
"import-x/no-useless-path-segments": [2, { "commonjs": true }],
|
|
596
|
+
"import-x/no-webpack-loader-syntax": [2],
|
|
597
|
+
"import-x/order": [0],
|
|
598
|
+
"import-x/prefer-default-export": [0],
|
|
599
|
+
"import-x/unambiguous": [0],
|
|
594
600
|
"init-declarations": [0],
|
|
595
601
|
"line-comment-position": [0],
|
|
596
602
|
"logical-assignment-operators": [0],
|
|
@@ -689,8 +695,23 @@ const eslintrc = {
|
|
|
689
695
|
"no-restricted-globals": [2, ...restrictedGlobals],
|
|
690
696
|
"no-restricted-imports": [2, "punycode", "assert"],
|
|
691
697
|
"no-restricted-properties": [0],
|
|
692
|
-
"no-restricted-syntax": [
|
|
693
|
-
|
|
698
|
+
"no-restricted-syntax": [
|
|
699
|
+
2,
|
|
700
|
+
"WithStatement",
|
|
701
|
+
// legacy
|
|
702
|
+
"ForInStatement",
|
|
703
|
+
// legacy
|
|
704
|
+
"SequenceExpression",
|
|
705
|
+
// legacy
|
|
706
|
+
"TSEnumDeclaration",
|
|
707
|
+
// not compatible with type stripping, TODO: erasableSyntaxOnly
|
|
708
|
+
"TSNamespaceExportDeclaration",
|
|
709
|
+
// not compatible with type stripping, TODO: erasableSyntaxOnly
|
|
710
|
+
"TSParameterProperty"
|
|
711
|
+
// not compatible with type stripping, TODO: erasableSyntaxOnly
|
|
712
|
+
// "Decorator", // TODO: check that this only affects the nonstandard TS decorator
|
|
713
|
+
// namespace is covered by @typescript-eslint/no-namespace
|
|
714
|
+
],
|
|
694
715
|
"no-return-assign": [0],
|
|
695
716
|
"no-script-url": [2],
|
|
696
717
|
"no-self-assign": [2, { "props": true }],
|
|
@@ -774,7 +795,8 @@ const eslintrc = {
|
|
|
774
795
|
"react/no-children-prop": [2],
|
|
775
796
|
"react/no-danger": [0],
|
|
776
797
|
"react/no-danger-with-children": [0],
|
|
777
|
-
"react/no-deprecated": [
|
|
798
|
+
"react/no-deprecated": [0],
|
|
799
|
+
// handlded by @typescript-eslint/no-deprecated
|
|
778
800
|
"react/no-did-mount-set-state": [0],
|
|
779
801
|
"react/no-did-update-set-state": [0],
|
|
780
802
|
"react/no-direct-mutation-state": [0],
|
|
@@ -1066,7 +1088,7 @@ const eslintrc = {
|
|
|
1066
1088
|
"vars-on-top": [0],
|
|
1067
1089
|
"yoda": [2, "never"]
|
|
1068
1090
|
}
|
|
1069
|
-
};
|
|
1091
|
+
});
|
|
1070
1092
|
const baseRules = {
|
|
1071
1093
|
...eslintrc.rules,
|
|
1072
1094
|
"no-use-extend-native/no-use-extend-native": [2],
|
|
@@ -1117,7 +1139,8 @@ const common = {
|
|
|
1117
1139
|
"@stylistic/js": stylisticJs,
|
|
1118
1140
|
"@typescript-eslint": typescriptPlugin.plugin,
|
|
1119
1141
|
"array-func": arrayFunc,
|
|
1120
|
-
|
|
1142
|
+
// @ts-expect-error - https://github.com/un-ts/eslint-plugin-import-x/issues/203
|
|
1143
|
+
"import-x": importPlugin,
|
|
1121
1144
|
"no-use-extend-native": noUseExtendNative,
|
|
1122
1145
|
react,
|
|
1123
1146
|
"react-hooks": reactHooks,
|
|
@@ -1128,9 +1151,9 @@ const common = {
|
|
|
1128
1151
|
// github,
|
|
1129
1152
|
},
|
|
1130
1153
|
settings: {
|
|
1131
|
-
"import/extensions": [...jsExts, tsExts],
|
|
1132
|
-
"import/parsers": { "@typescript-eslint/parser": [...jsExts, tsExts] },
|
|
1133
|
-
"import/resolver": "typescript",
|
|
1154
|
+
"import-x/extensions": [...jsExts, tsExts],
|
|
1155
|
+
"import-x/parsers": { "@typescript-eslint/parser": [...jsExts, tsExts] },
|
|
1156
|
+
"import-x/resolver": { "typescript": true },
|
|
1134
1157
|
"linkComponents": [{ name: "Link", linkAttribute: "href" }],
|
|
1135
1158
|
"react": { version: "detect" }
|
|
1136
1159
|
}
|
package/dist/index.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"@stylistic/eslint-plugin-js",
|
|
7
7
|
"@typescript-eslint/eslint-plugin",
|
|
8
8
|
"eslint-plugin-array-func",
|
|
9
|
-
"eslint-plugin-import",
|
|
9
|
+
"eslint-plugin-import-x",
|
|
10
10
|
"eslint-plugin-no-use-extend-native",
|
|
11
11
|
"eslint-plugin-react",
|
|
12
12
|
"eslint-plugin-react-hooks",
|
|
@@ -35,13 +35,13 @@
|
|
|
35
35
|
"node": true
|
|
36
36
|
},
|
|
37
37
|
"settings": {
|
|
38
|
-
"import/extensions": [
|
|
38
|
+
"import-x/extensions": [
|
|
39
39
|
".js",
|
|
40
40
|
".jsx",
|
|
41
41
|
".ts",
|
|
42
42
|
".tsx"
|
|
43
43
|
],
|
|
44
|
-
"import/parsers": {
|
|
44
|
+
"import-x/parsers": {
|
|
45
45
|
"@typescript-eslint/parser": [
|
|
46
46
|
".js",
|
|
47
47
|
".jsx",
|
|
@@ -49,7 +49,9 @@
|
|
|
49
49
|
".tsx"
|
|
50
50
|
]
|
|
51
51
|
},
|
|
52
|
-
"import/resolver":
|
|
52
|
+
"import-x/resolver": {
|
|
53
|
+
"typescript": true
|
|
54
|
+
},
|
|
53
55
|
"react": {
|
|
54
56
|
"version": "19"
|
|
55
57
|
},
|
|
@@ -340,7 +342,7 @@
|
|
|
340
342
|
"vitest.global.*"
|
|
341
343
|
],
|
|
342
344
|
"rules": {
|
|
343
|
-
"import/no-unused-modules": [
|
|
345
|
+
"import-x/no-unused-modules": [
|
|
344
346
|
0
|
|
345
347
|
]
|
|
346
348
|
}
|
|
@@ -1479,127 +1481,129 @@
|
|
|
1479
1481
|
"id-match": [
|
|
1480
1482
|
0
|
|
1481
1483
|
],
|
|
1482
|
-
"import/consistent-type-specifier-style": [
|
|
1484
|
+
"import-x/consistent-type-specifier-style": [
|
|
1483
1485
|
0
|
|
1484
1486
|
],
|
|
1485
|
-
"import/default": [
|
|
1487
|
+
"import-x/default": [
|
|
1486
1488
|
0
|
|
1487
1489
|
],
|
|
1488
|
-
"import/dynamic-import-chunkname": [
|
|
1490
|
+
"import-x/dynamic-import-chunkname": [
|
|
1489
1491
|
0
|
|
1490
1492
|
],
|
|
1491
|
-
"import/export": [
|
|
1493
|
+
"import-x/export": [
|
|
1492
1494
|
2
|
|
1493
1495
|
],
|
|
1494
|
-
"import/exports-last": [
|
|
1496
|
+
"import-x/exports-last": [
|
|
1495
1497
|
0
|
|
1496
1498
|
],
|
|
1497
|
-
"import/extensions": [
|
|
1499
|
+
"import-x/extensions": [
|
|
1498
1500
|
2,
|
|
1499
|
-
"ignorePackages"
|
|
1501
|
+
"ignorePackages",
|
|
1502
|
+
{
|
|
1503
|
+
"checkTypeImports": true
|
|
1504
|
+
}
|
|
1500
1505
|
],
|
|
1501
|
-
"import/first": [
|
|
1506
|
+
"import-x/first": [
|
|
1502
1507
|
2
|
|
1503
1508
|
],
|
|
1504
|
-
"import/group-exports": [
|
|
1509
|
+
"import-x/group-exports": [
|
|
1505
1510
|
0
|
|
1506
1511
|
],
|
|
1507
|
-
"import/max-dependencies": [
|
|
1512
|
+
"import-x/max-dependencies": [
|
|
1508
1513
|
0
|
|
1509
1514
|
],
|
|
1510
|
-
"import/named": [
|
|
1515
|
+
"import-x/named": [
|
|
1511
1516
|
2
|
|
1512
1517
|
],
|
|
1513
|
-
"import/namespace": [
|
|
1518
|
+
"import-x/namespace": [
|
|
1514
1519
|
0
|
|
1515
1520
|
],
|
|
1516
|
-
"import/newline-after-import": [
|
|
1521
|
+
"import-x/newline-after-import": [
|
|
1517
1522
|
0
|
|
1518
1523
|
],
|
|
1519
|
-
"import/no-absolute-path": [
|
|
1524
|
+
"import-x/no-absolute-path": [
|
|
1520
1525
|
2
|
|
1521
1526
|
],
|
|
1522
|
-
"import/no-amd": [
|
|
1527
|
+
"import-x/no-amd": [
|
|
1523
1528
|
2
|
|
1524
1529
|
],
|
|
1525
|
-
"import/no-anonymous-default-export": [
|
|
1530
|
+
"import-x/no-anonymous-default-export": [
|
|
1526
1531
|
0
|
|
1527
1532
|
],
|
|
1528
|
-
"import/no-commonjs": [
|
|
1533
|
+
"import-x/no-commonjs": [
|
|
1529
1534
|
2,
|
|
1530
1535
|
{
|
|
1531
1536
|
"allowConditionalRequire": false
|
|
1532
1537
|
}
|
|
1533
1538
|
],
|
|
1534
|
-
"import/no-cycle": [
|
|
1539
|
+
"import-x/no-cycle": [
|
|
1535
1540
|
2,
|
|
1536
1541
|
{
|
|
1537
1542
|
"ignoreExternal": true,
|
|
1538
|
-
"maxDepth": 1
|
|
1539
|
-
"disableScc": true
|
|
1543
|
+
"maxDepth": 1
|
|
1540
1544
|
}
|
|
1541
1545
|
],
|
|
1542
|
-
"import/no-default-export": [
|
|
1546
|
+
"import-x/no-default-export": [
|
|
1543
1547
|
0
|
|
1544
1548
|
],
|
|
1545
|
-
"import/no-deprecated": [
|
|
1549
|
+
"import-x/no-deprecated": [
|
|
1546
1550
|
0
|
|
1547
1551
|
],
|
|
1548
|
-
"import/no-duplicates": [
|
|
1552
|
+
"import-x/no-duplicates": [
|
|
1549
1553
|
2
|
|
1550
1554
|
],
|
|
1551
|
-
"import/no-dynamic-require": [
|
|
1555
|
+
"import-x/no-dynamic-require": [
|
|
1552
1556
|
0
|
|
1553
1557
|
],
|
|
1554
|
-
"import/no-empty-named-blocks": [
|
|
1558
|
+
"import-x/no-empty-named-blocks": [
|
|
1555
1559
|
2
|
|
1556
1560
|
],
|
|
1557
|
-
"import/no-extraneous-dependencies": [
|
|
1561
|
+
"import-x/no-extraneous-dependencies": [
|
|
1558
1562
|
2
|
|
1559
1563
|
],
|
|
1560
|
-
"import/no-import-module-exports": [
|
|
1564
|
+
"import-x/no-import-module-exports": [
|
|
1561
1565
|
0
|
|
1562
1566
|
],
|
|
1563
|
-
"import/no-internal-modules": [
|
|
1567
|
+
"import-x/no-internal-modules": [
|
|
1564
1568
|
0
|
|
1565
1569
|
],
|
|
1566
|
-
"import/no-mutable-exports": [
|
|
1570
|
+
"import-x/no-mutable-exports": [
|
|
1567
1571
|
0
|
|
1568
1572
|
],
|
|
1569
|
-
"import/no-named-as-default": [
|
|
1573
|
+
"import-x/no-named-as-default": [
|
|
1570
1574
|
0
|
|
1571
1575
|
],
|
|
1572
|
-
"import/no-named-as-default-member": [
|
|
1576
|
+
"import-x/no-named-as-default-member": [
|
|
1573
1577
|
0
|
|
1574
1578
|
],
|
|
1575
|
-
"import/no-named-default": [
|
|
1579
|
+
"import-x/no-named-default": [
|
|
1576
1580
|
0
|
|
1577
1581
|
],
|
|
1578
|
-
"import/no-named-export": [
|
|
1582
|
+
"import-x/no-named-export": [
|
|
1579
1583
|
0
|
|
1580
1584
|
],
|
|
1581
|
-
"import/no-namespace": [
|
|
1585
|
+
"import-x/no-namespace": [
|
|
1582
1586
|
0
|
|
1583
1587
|
],
|
|
1584
|
-
"import/no-nodejs-modules": [
|
|
1588
|
+
"import-x/no-nodejs-modules": [
|
|
1585
1589
|
0
|
|
1586
1590
|
],
|
|
1587
|
-
"import/no-relative-packages": [
|
|
1591
|
+
"import-x/no-relative-packages": [
|
|
1588
1592
|
0
|
|
1589
1593
|
],
|
|
1590
|
-
"import/no-relative-parent-imports": [
|
|
1594
|
+
"import-x/no-relative-parent-imports": [
|
|
1591
1595
|
0
|
|
1592
1596
|
],
|
|
1593
|
-
"import/no-restricted-paths": [
|
|
1597
|
+
"import-x/no-restricted-paths": [
|
|
1594
1598
|
0
|
|
1595
1599
|
],
|
|
1596
|
-
"import/no-self-import": [
|
|
1600
|
+
"import-x/no-self-import": [
|
|
1597
1601
|
2
|
|
1598
1602
|
],
|
|
1599
|
-
"import/no-unassigned-import": [
|
|
1603
|
+
"import-x/no-unassigned-import": [
|
|
1600
1604
|
0
|
|
1601
1605
|
],
|
|
1602
|
-
"import/no-unresolved": [
|
|
1606
|
+
"import-x/no-unresolved": [
|
|
1603
1607
|
2,
|
|
1604
1608
|
{
|
|
1605
1609
|
"commonjs": true,
|
|
@@ -1608,29 +1612,29 @@
|
|
|
1608
1612
|
]
|
|
1609
1613
|
}
|
|
1610
1614
|
],
|
|
1611
|
-
"import/no-unused-modules": [
|
|
1615
|
+
"import-x/no-unused-modules": [
|
|
1612
1616
|
2,
|
|
1613
1617
|
{
|
|
1614
1618
|
"unusedExports": true,
|
|
1615
1619
|
"ignoreUnusedTypeExports": true
|
|
1616
1620
|
}
|
|
1617
1621
|
],
|
|
1618
|
-
"import/no-useless-path-segments": [
|
|
1622
|
+
"import-x/no-useless-path-segments": [
|
|
1619
1623
|
2,
|
|
1620
1624
|
{
|
|
1621
1625
|
"commonjs": true
|
|
1622
1626
|
}
|
|
1623
1627
|
],
|
|
1624
|
-
"import/no-webpack-loader-syntax": [
|
|
1628
|
+
"import-x/no-webpack-loader-syntax": [
|
|
1625
1629
|
2
|
|
1626
1630
|
],
|
|
1627
|
-
"import/order": [
|
|
1631
|
+
"import-x/order": [
|
|
1628
1632
|
0
|
|
1629
1633
|
],
|
|
1630
|
-
"import/prefer-default-export": [
|
|
1634
|
+
"import-x/prefer-default-export": [
|
|
1631
1635
|
0
|
|
1632
1636
|
],
|
|
1633
|
-
"import/unambiguous": [
|
|
1637
|
+
"import-x/unambiguous": [
|
|
1634
1638
|
0
|
|
1635
1639
|
],
|
|
1636
1640
|
"init-declarations": [
|
|
@@ -2010,11 +2014,7 @@
|
|
|
2010
2014
|
"SequenceExpression",
|
|
2011
2015
|
"TSEnumDeclaration",
|
|
2012
2016
|
"TSNamespaceExportDeclaration",
|
|
2013
|
-
"TSParameterProperty"
|
|
2014
|
-
{
|
|
2015
|
-
"selector": "CallExpression[callee.property.name='eqDebug']",
|
|
2016
|
-
"message": "eqDebug should be removed"
|
|
2017
|
-
}
|
|
2017
|
+
"TSParameterProperty"
|
|
2018
2018
|
],
|
|
2019
2019
|
"no-return-assign": [
|
|
2020
2020
|
0
|
|
@@ -2295,7 +2295,7 @@
|
|
|
2295
2295
|
0
|
|
2296
2296
|
],
|
|
2297
2297
|
"react/no-deprecated": [
|
|
2298
|
-
|
|
2298
|
+
0
|
|
2299
2299
|
],
|
|
2300
2300
|
"react/no-did-mount-set-state": [
|
|
2301
2301
|
0
|