@coderwyd/eslint-config 1.1.0-beta.3 → 1.1.1
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/README.md +4 -4
- package/bin/index.js +3 -0
- package/dist/cli.cjs +268 -0
- package/dist/cli.d.cts +2 -0
- package/dist/cli.d.ts +2 -0
- package/dist/cli.js +239 -0
- package/dist/index.cjs +414 -556
- package/dist/index.d.cts +116 -131
- package/dist/index.d.ts +116 -131
- package/dist/index.js +415 -537
- package/package.json +75 -41
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coderwyd/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.1.
|
|
5
|
-
"packageManager": "pnpm@8.
|
|
4
|
+
"version": "1.1.1",
|
|
5
|
+
"packageManager": "pnpm@8.11.0",
|
|
6
6
|
"author": "Donny Wang <donny526@outlook.com> (https://github.com/coderwyd/)",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"homepage": "https://github.com/coderwyd/eslint-config",
|
|
@@ -18,7 +18,9 @@
|
|
|
18
18
|
"main": "./dist/index.js",
|
|
19
19
|
"module": "./dist/index.js",
|
|
20
20
|
"types": "./dist/index.d.ts",
|
|
21
|
+
"bin": "./bin/index.js",
|
|
21
22
|
"files": [
|
|
23
|
+
"bin",
|
|
22
24
|
"dist"
|
|
23
25
|
],
|
|
24
26
|
"publishConfig": {
|
|
@@ -28,52 +30,84 @@
|
|
|
28
30
|
"node": ">=16.14.0"
|
|
29
31
|
},
|
|
30
32
|
"peerDependencies": {
|
|
31
|
-
"eslint": ">=
|
|
33
|
+
"@unocss/eslint-plugin": ">=0.50.0",
|
|
34
|
+
"eslint": ">=8.40.0",
|
|
35
|
+
"eslint-plugin-react": "^7.33.2",
|
|
36
|
+
"eslint-plugin-react-hooks": "^4.6.0",
|
|
37
|
+
"eslint-plugin-react-refresh": "^0.4.4"
|
|
38
|
+
},
|
|
39
|
+
"peerDependenciesMeta": {
|
|
40
|
+
"@unocss/eslint-plugin": {
|
|
41
|
+
"optional": true
|
|
42
|
+
},
|
|
43
|
+
"eslint-plugin-react": {
|
|
44
|
+
"optional": true
|
|
45
|
+
},
|
|
46
|
+
"eslint-plugin-react-hooks": {
|
|
47
|
+
"optional": true
|
|
48
|
+
},
|
|
49
|
+
"eslint-plugin-react-refresh": {
|
|
50
|
+
"optional": true
|
|
51
|
+
}
|
|
32
52
|
},
|
|
33
53
|
"dependencies": {
|
|
34
|
-
"@
|
|
35
|
-
"@
|
|
36
|
-
"@
|
|
37
|
-
"
|
|
38
|
-
"eslint-
|
|
39
|
-
"eslint-
|
|
40
|
-
"eslint-plugin
|
|
41
|
-
"eslint
|
|
54
|
+
"@antfu/eslint-define-config": "^1.23.0-2",
|
|
55
|
+
"@antfu/install-pkg": "^0.2.0",
|
|
56
|
+
"@eslint-types/jsdoc": "46.8.2-1",
|
|
57
|
+
"@eslint-types/typescript-eslint": "^6.12.0",
|
|
58
|
+
"@eslint-types/unicorn": "^49.0.0",
|
|
59
|
+
"@stylistic/eslint-plugin": "^1.4.0",
|
|
60
|
+
"@typescript-eslint/eslint-plugin": "^6.12.0",
|
|
61
|
+
"@typescript-eslint/parser": "^6.12.0",
|
|
62
|
+
"eslint-config-flat-gitignore": "^0.1.1",
|
|
63
|
+
"eslint-plugin-antfu": "^1.0.10",
|
|
42
64
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
43
|
-
"eslint-plugin-i": "^2.
|
|
44
|
-
"eslint-plugin-jsdoc": "^46.
|
|
45
|
-
"eslint-plugin-jsonc": "^2.
|
|
65
|
+
"eslint-plugin-i": "^2.29.0",
|
|
66
|
+
"eslint-plugin-jsdoc": "^46.9.0",
|
|
67
|
+
"eslint-plugin-jsonc": "^2.10.0",
|
|
46
68
|
"eslint-plugin-markdown": "^3.0.1",
|
|
47
|
-
"eslint-plugin-n": "^16.1
|
|
69
|
+
"eslint-plugin-n": "^16.3.1",
|
|
48
70
|
"eslint-plugin-no-only-tests": "^3.1.0",
|
|
49
|
-
"eslint-plugin-
|
|
50
|
-
"eslint-plugin-
|
|
51
|
-
"eslint-plugin-unicorn": "^48.0.1",
|
|
71
|
+
"eslint-plugin-perfectionist": "^2.4.0",
|
|
72
|
+
"eslint-plugin-unicorn": "^49.0.0",
|
|
52
73
|
"eslint-plugin-unused-imports": "^3.0.0",
|
|
53
|
-
"eslint-plugin-vitest": "^0.3.
|
|
54
|
-
"eslint-plugin-vue": "^9.
|
|
55
|
-
"eslint-plugin-yml": "^1.
|
|
56
|
-
"globals": "^13.
|
|
57
|
-
"jsonc-eslint-parser": "^2.
|
|
58
|
-
"local-pkg": "^0.
|
|
59
|
-
"
|
|
60
|
-
"
|
|
74
|
+
"eslint-plugin-vitest": "^0.3.10",
|
|
75
|
+
"eslint-plugin-vue": "^9.18.1",
|
|
76
|
+
"eslint-plugin-yml": "^1.10.0",
|
|
77
|
+
"globals": "^13.23.0",
|
|
78
|
+
"jsonc-eslint-parser": "^2.4.0",
|
|
79
|
+
"local-pkg": "^0.5.0",
|
|
80
|
+
"parse-gitignore": "^2.0.0",
|
|
81
|
+
"picocolors": "^1.0.0",
|
|
82
|
+
"prompts": "^2.4.2",
|
|
83
|
+
"vue-eslint-parser": "^9.3.2",
|
|
84
|
+
"yaml-eslint-parser": "^1.2.2",
|
|
85
|
+
"yargs": "^17.7.2"
|
|
61
86
|
},
|
|
62
87
|
"devDependencies": {
|
|
63
|
-
"@
|
|
64
|
-
"@
|
|
65
|
-
"@types/
|
|
66
|
-
"@types/
|
|
88
|
+
"@antfu/ni": "^0.21.10",
|
|
89
|
+
"@stylistic/eslint-plugin-migrate": "^1.4.0",
|
|
90
|
+
"@types/eslint": "^8.44.7",
|
|
91
|
+
"@types/fs-extra": "^11.0.4",
|
|
92
|
+
"@types/node": "^20.9.4",
|
|
93
|
+
"@types/prompts": "^2.4.9",
|
|
94
|
+
"@types/yargs": "^17.0.32",
|
|
95
|
+
"@unocss/eslint-plugin": "^0.57.7",
|
|
67
96
|
"bumpp": "^9.2.0",
|
|
68
|
-
"eslint": "^8.
|
|
69
|
-
"eslint-flat-config-viewer": "^0.
|
|
70
|
-
"eslint-plugin-
|
|
71
|
-
"
|
|
72
|
-
"react": "^
|
|
97
|
+
"eslint": "^8.54.0",
|
|
98
|
+
"eslint-flat-config-viewer": "^0.1.3",
|
|
99
|
+
"eslint-plugin-react": "^7.33.2",
|
|
100
|
+
"eslint-plugin-react-hooks": "^4.6.0",
|
|
101
|
+
"eslint-plugin-react-refresh": "^0.4.4",
|
|
102
|
+
"esno": "^4.0.0",
|
|
103
|
+
"execa": "^8.0.1",
|
|
104
|
+
"fast-glob": "^3.3.2",
|
|
105
|
+
"fs-extra": "^11.1.1",
|
|
106
|
+
"lint-staged": "^15.1.0",
|
|
107
|
+
"rimraf": "^5.0.5",
|
|
73
108
|
"simple-git-hooks": "^2.9.0",
|
|
74
|
-
"
|
|
75
|
-
"
|
|
76
|
-
"typescript": "^5.2.2",
|
|
109
|
+
"tsup": "^8.0.1",
|
|
110
|
+
"typescript": "^5.3.2",
|
|
77
111
|
"vitest": "^0.34.6"
|
|
78
112
|
},
|
|
79
113
|
"simple-git-hooks": {
|
|
@@ -83,9 +117,9 @@
|
|
|
83
117
|
"*": "eslint --fix"
|
|
84
118
|
},
|
|
85
119
|
"scripts": {
|
|
86
|
-
"
|
|
87
|
-
"
|
|
88
|
-
"
|
|
120
|
+
"build": "tsup --format esm,cjs --clean --dts",
|
|
121
|
+
"stub": "tsup --format esm",
|
|
122
|
+
"dev": "tsup --format esm,cjs --watch & eslint-flat-config-viewer",
|
|
89
123
|
"lint": "pnpm run stub && eslint .",
|
|
90
124
|
"release": "bumpp && pnpm publish",
|
|
91
125
|
"test": "vitest",
|