@meteorlxy/eslint-config 6.0.0 → 6.2.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/index.cjs +3 -1
- package/dist/index.d.cts +4 -2
- package/dist/index.d.mts +4 -2
- package/dist/index.d.ts +4 -2
- package/dist/index.mjs +3 -1
- package/package.json +12 -11
package/dist/index.cjs
CHANGED
|
@@ -515,6 +515,7 @@ const builtinRules = {
|
|
|
515
515
|
"no-ternary": "off",
|
|
516
516
|
"no-this-before-super": "error",
|
|
517
517
|
"no-throw-literal": "error",
|
|
518
|
+
"no-unassigned-vars": "error",
|
|
518
519
|
"no-undef": "error",
|
|
519
520
|
"no-undef-init": "error",
|
|
520
521
|
"no-undefined": "off",
|
|
@@ -825,7 +826,7 @@ const importsRules = {
|
|
|
825
826
|
"import/no-nodejs-modules": "off",
|
|
826
827
|
"import/no-relative-packages": "error",
|
|
827
828
|
"import/no-relative-parent-imports": "off",
|
|
828
|
-
"import/no-rename-default": "
|
|
829
|
+
"import/no-rename-default": "off",
|
|
829
830
|
"import/no-restricted-paths": "off",
|
|
830
831
|
"import/no-self-import": "error",
|
|
831
832
|
"import/no-unassigned-import": "off",
|
|
@@ -874,6 +875,7 @@ const importsRules = {
|
|
|
874
875
|
}
|
|
875
876
|
],
|
|
876
877
|
"import/prefer-default-export": "off",
|
|
878
|
+
"import/prefer-namespace-import": "off",
|
|
877
879
|
"import/unambiguous": "off"
|
|
878
880
|
};
|
|
879
881
|
|
package/dist/index.d.cts
CHANGED
|
@@ -344,7 +344,7 @@ declare const builtinRules: {
|
|
|
344
344
|
name: string;
|
|
345
345
|
message: string;
|
|
346
346
|
}, ...{
|
|
347
|
-
name: "
|
|
347
|
+
name: "name" | "addEventListener" | "blur" | "close" | "closed" | "confirm" | "defaultStatus" | "defaultstatus" | "event" | "external" | "find" | "focus" | "frameElement" | "frames" | "history" | "innerHeight" | "innerWidth" | "length" | "location" | "locationbar" | "menubar" | "moveBy" | "moveTo" | "onblur" | "onerror" | "onfocus" | "onload" | "onresize" | "onunload" | "open" | "opener" | "opera" | "outerHeight" | "outerWidth" | "pageXOffset" | "pageYOffset" | "parent" | "print" | "removeEventListener" | "resizeBy" | "resizeTo" | "screen" | "screenLeft" | "screenTop" | "screenX" | "screenY" | "scroll" | "scrollbars" | "scrollBy" | "scrollTo" | "scrollX" | "scrollY" | "self" | "status" | "statusbar" | "stop" | "toolbar" | "top";
|
|
348
348
|
message: string;
|
|
349
349
|
}[]];
|
|
350
350
|
'no-restricted-imports': ["off", {
|
|
@@ -415,6 +415,7 @@ declare const builtinRules: {
|
|
|
415
415
|
'no-ternary': "off";
|
|
416
416
|
'no-this-before-super': "error";
|
|
417
417
|
'no-throw-literal': "error";
|
|
418
|
+
'no-unassigned-vars': "error";
|
|
418
419
|
'no-undef': "error";
|
|
419
420
|
'no-undef-init': "error";
|
|
420
421
|
'no-undefined': "off";
|
|
@@ -623,7 +624,7 @@ declare const importsRules: {
|
|
|
623
624
|
'import/no-nodejs-modules': "off";
|
|
624
625
|
'import/no-relative-packages': "error";
|
|
625
626
|
'import/no-relative-parent-imports': "off";
|
|
626
|
-
'import/no-rename-default': "
|
|
627
|
+
'import/no-rename-default': "off";
|
|
627
628
|
'import/no-restricted-paths': "off";
|
|
628
629
|
'import/no-self-import': "error";
|
|
629
630
|
'import/no-unassigned-import': "off";
|
|
@@ -654,6 +655,7 @@ declare const importsRules: {
|
|
|
654
655
|
}[];
|
|
655
656
|
}];
|
|
656
657
|
'import/prefer-default-export': "off";
|
|
658
|
+
'import/prefer-namespace-import': "off";
|
|
657
659
|
'import/unambiguous': "off";
|
|
658
660
|
};
|
|
659
661
|
|
package/dist/index.d.mts
CHANGED
|
@@ -344,7 +344,7 @@ declare const builtinRules: {
|
|
|
344
344
|
name: string;
|
|
345
345
|
message: string;
|
|
346
346
|
}, ...{
|
|
347
|
-
name: "
|
|
347
|
+
name: "name" | "addEventListener" | "blur" | "close" | "closed" | "confirm" | "defaultStatus" | "defaultstatus" | "event" | "external" | "find" | "focus" | "frameElement" | "frames" | "history" | "innerHeight" | "innerWidth" | "length" | "location" | "locationbar" | "menubar" | "moveBy" | "moveTo" | "onblur" | "onerror" | "onfocus" | "onload" | "onresize" | "onunload" | "open" | "opener" | "opera" | "outerHeight" | "outerWidth" | "pageXOffset" | "pageYOffset" | "parent" | "print" | "removeEventListener" | "resizeBy" | "resizeTo" | "screen" | "screenLeft" | "screenTop" | "screenX" | "screenY" | "scroll" | "scrollbars" | "scrollBy" | "scrollTo" | "scrollX" | "scrollY" | "self" | "status" | "statusbar" | "stop" | "toolbar" | "top";
|
|
348
348
|
message: string;
|
|
349
349
|
}[]];
|
|
350
350
|
'no-restricted-imports': ["off", {
|
|
@@ -415,6 +415,7 @@ declare const builtinRules: {
|
|
|
415
415
|
'no-ternary': "off";
|
|
416
416
|
'no-this-before-super': "error";
|
|
417
417
|
'no-throw-literal': "error";
|
|
418
|
+
'no-unassigned-vars': "error";
|
|
418
419
|
'no-undef': "error";
|
|
419
420
|
'no-undef-init': "error";
|
|
420
421
|
'no-undefined': "off";
|
|
@@ -623,7 +624,7 @@ declare const importsRules: {
|
|
|
623
624
|
'import/no-nodejs-modules': "off";
|
|
624
625
|
'import/no-relative-packages': "error";
|
|
625
626
|
'import/no-relative-parent-imports': "off";
|
|
626
|
-
'import/no-rename-default': "
|
|
627
|
+
'import/no-rename-default': "off";
|
|
627
628
|
'import/no-restricted-paths': "off";
|
|
628
629
|
'import/no-self-import': "error";
|
|
629
630
|
'import/no-unassigned-import': "off";
|
|
@@ -654,6 +655,7 @@ declare const importsRules: {
|
|
|
654
655
|
}[];
|
|
655
656
|
}];
|
|
656
657
|
'import/prefer-default-export': "off";
|
|
658
|
+
'import/prefer-namespace-import': "off";
|
|
657
659
|
'import/unambiguous': "off";
|
|
658
660
|
};
|
|
659
661
|
|
package/dist/index.d.ts
CHANGED
|
@@ -344,7 +344,7 @@ declare const builtinRules: {
|
|
|
344
344
|
name: string;
|
|
345
345
|
message: string;
|
|
346
346
|
}, ...{
|
|
347
|
-
name: "
|
|
347
|
+
name: "name" | "addEventListener" | "blur" | "close" | "closed" | "confirm" | "defaultStatus" | "defaultstatus" | "event" | "external" | "find" | "focus" | "frameElement" | "frames" | "history" | "innerHeight" | "innerWidth" | "length" | "location" | "locationbar" | "menubar" | "moveBy" | "moveTo" | "onblur" | "onerror" | "onfocus" | "onload" | "onresize" | "onunload" | "open" | "opener" | "opera" | "outerHeight" | "outerWidth" | "pageXOffset" | "pageYOffset" | "parent" | "print" | "removeEventListener" | "resizeBy" | "resizeTo" | "screen" | "screenLeft" | "screenTop" | "screenX" | "screenY" | "scroll" | "scrollbars" | "scrollBy" | "scrollTo" | "scrollX" | "scrollY" | "self" | "status" | "statusbar" | "stop" | "toolbar" | "top";
|
|
348
348
|
message: string;
|
|
349
349
|
}[]];
|
|
350
350
|
'no-restricted-imports': ["off", {
|
|
@@ -415,6 +415,7 @@ declare const builtinRules: {
|
|
|
415
415
|
'no-ternary': "off";
|
|
416
416
|
'no-this-before-super': "error";
|
|
417
417
|
'no-throw-literal': "error";
|
|
418
|
+
'no-unassigned-vars': "error";
|
|
418
419
|
'no-undef': "error";
|
|
419
420
|
'no-undef-init': "error";
|
|
420
421
|
'no-undefined': "off";
|
|
@@ -623,7 +624,7 @@ declare const importsRules: {
|
|
|
623
624
|
'import/no-nodejs-modules': "off";
|
|
624
625
|
'import/no-relative-packages': "error";
|
|
625
626
|
'import/no-relative-parent-imports': "off";
|
|
626
|
-
'import/no-rename-default': "
|
|
627
|
+
'import/no-rename-default': "off";
|
|
627
628
|
'import/no-restricted-paths': "off";
|
|
628
629
|
'import/no-self-import': "error";
|
|
629
630
|
'import/no-unassigned-import': "off";
|
|
@@ -654,6 +655,7 @@ declare const importsRules: {
|
|
|
654
655
|
}[];
|
|
655
656
|
}];
|
|
656
657
|
'import/prefer-default-export': "off";
|
|
658
|
+
'import/prefer-namespace-import': "off";
|
|
657
659
|
'import/unambiguous': "off";
|
|
658
660
|
};
|
|
659
661
|
|
package/dist/index.mjs
CHANGED
|
@@ -503,6 +503,7 @@ const builtinRules = {
|
|
|
503
503
|
"no-ternary": "off",
|
|
504
504
|
"no-this-before-super": "error",
|
|
505
505
|
"no-throw-literal": "error",
|
|
506
|
+
"no-unassigned-vars": "error",
|
|
506
507
|
"no-undef": "error",
|
|
507
508
|
"no-undef-init": "error",
|
|
508
509
|
"no-undefined": "off",
|
|
@@ -813,7 +814,7 @@ const importsRules = {
|
|
|
813
814
|
"import/no-nodejs-modules": "off",
|
|
814
815
|
"import/no-relative-packages": "error",
|
|
815
816
|
"import/no-relative-parent-imports": "off",
|
|
816
|
-
"import/no-rename-default": "
|
|
817
|
+
"import/no-rename-default": "off",
|
|
817
818
|
"import/no-restricted-paths": "off",
|
|
818
819
|
"import/no-self-import": "error",
|
|
819
820
|
"import/no-unassigned-import": "off",
|
|
@@ -862,6 +863,7 @@ const importsRules = {
|
|
|
862
863
|
}
|
|
863
864
|
],
|
|
864
865
|
"import/prefer-default-export": "off",
|
|
866
|
+
"import/prefer-namespace-import": "off",
|
|
865
867
|
"import/unambiguous": "off"
|
|
866
868
|
};
|
|
867
869
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@meteorlxy/eslint-config",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.2.0",
|
|
4
4
|
"description": "meteorlxy eslint config",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"config",
|
|
@@ -32,26 +32,27 @@
|
|
|
32
32
|
"clean": "rimraf ./dist"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
36
|
-
"@typescript-eslint/parser": "^8.
|
|
37
|
-
"@typescript-eslint/utils": "^8.
|
|
35
|
+
"@typescript-eslint/eslint-plugin": "^8.35.0",
|
|
36
|
+
"@typescript-eslint/parser": "^8.35.0",
|
|
37
|
+
"@typescript-eslint/utils": "^8.35.0",
|
|
38
38
|
"confusing-browser-globals": "^1.0.11",
|
|
39
39
|
"eslint-config-flat-gitignore": "^2.1.0",
|
|
40
|
-
"eslint-config-prettier": "^10.1.
|
|
40
|
+
"eslint-config-prettier": "^10.1.5",
|
|
41
41
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
42
|
-
"eslint-plugin-import-x": "^4.
|
|
42
|
+
"eslint-plugin-import-x": "^4.16.1",
|
|
43
43
|
"eslint-plugin-markdown": "^5.1.0",
|
|
44
|
-
"globals": "^16.
|
|
44
|
+
"globals": "^16.2.0"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@types/confusing-browser-globals": "^1.0.3",
|
|
48
48
|
"@types/eslint": "^9.6.1",
|
|
49
|
-
"eslint": "^9.
|
|
49
|
+
"eslint": "^9.30.0",
|
|
50
50
|
"eslint-plugin-react": "^7.37.5",
|
|
51
51
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
52
52
|
"eslint-plugin-react-refresh": "^0.4.20",
|
|
53
|
-
"eslint-plugin-vue": "^10.
|
|
54
|
-
"
|
|
53
|
+
"eslint-plugin-vue": "^10.2.0",
|
|
54
|
+
"unbuild": "^3.5.0",
|
|
55
|
+
"vue-eslint-parser": "^10.1.4"
|
|
55
56
|
},
|
|
56
57
|
"peerDependencies": {
|
|
57
58
|
"eslint-plugin-react": "^7.37.5",
|
|
@@ -80,5 +81,5 @@
|
|
|
80
81
|
"publishConfig": {
|
|
81
82
|
"access": "public"
|
|
82
83
|
},
|
|
83
|
-
"gitHead": "
|
|
84
|
+
"gitHead": "faeb185a337ff245430e24fc78e765956af323eb"
|
|
84
85
|
}
|