@coderwyd/eslint-config 2.4.1 → 2.5.0-beta.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 +47 -24
- package/dist/cli.cjs +24 -6
- package/dist/cli.js +24 -6
- package/dist/index.cjs +251 -156
- package/dist/index.d.cts +5633 -3154
- package/dist/index.d.ts +5633 -3154
- package/dist/index.js +251 -155
- package/package.json +23 -17
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coderwyd/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.5.0-beta.1",
|
|
5
5
|
"description": "Donny's ESLint config",
|
|
6
6
|
"author": "Donny Wang <donny526@outlook.com> (https://github.com/coderwyd/)",
|
|
7
7
|
"license": "MIT",
|
|
@@ -11,8 +11,7 @@
|
|
|
11
11
|
"eslint-config",
|
|
12
12
|
"eslint-config-vue",
|
|
13
13
|
"eslint-config-react",
|
|
14
|
-
"eslint-config-svelte"
|
|
15
|
-
"prettier"
|
|
14
|
+
"eslint-config-svelte"
|
|
16
15
|
],
|
|
17
16
|
"publishConfig": {
|
|
18
17
|
"access": "public"
|
|
@@ -36,19 +35,23 @@
|
|
|
36
35
|
"node": ">=18.18.0"
|
|
37
36
|
},
|
|
38
37
|
"peerDependencies": {
|
|
38
|
+
"@eslint-react/eslint-plugin": "^1.5.8",
|
|
39
39
|
"@unocss/eslint-plugin": ">=0.50.0",
|
|
40
40
|
"eslint": "^8.56.0 || ^9.0.0",
|
|
41
|
-
"eslint-plugin-
|
|
41
|
+
"eslint-plugin-format": ">=0.1.0",
|
|
42
42
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
43
43
|
"eslint-plugin-react-refresh": "^0.4.4",
|
|
44
44
|
"eslint-plugin-svelte": "^2.34.1",
|
|
45
45
|
"svelte-eslint-parser": "^0.33.1"
|
|
46
46
|
},
|
|
47
47
|
"peerDependenciesMeta": {
|
|
48
|
+
"@eslint-react/eslint-plugin": {
|
|
49
|
+
"optional": true
|
|
50
|
+
},
|
|
48
51
|
"@unocss/eslint-plugin": {
|
|
49
52
|
"optional": true
|
|
50
53
|
},
|
|
51
|
-
"eslint-plugin-
|
|
54
|
+
"eslint-plugin-format": {
|
|
52
55
|
"optional": true
|
|
53
56
|
},
|
|
54
57
|
"eslint-plugin-react-hooks": {
|
|
@@ -66,34 +69,34 @@
|
|
|
66
69
|
},
|
|
67
70
|
"dependencies": {
|
|
68
71
|
"@antfu/install-pkg": "^0.3.3",
|
|
72
|
+
"@stylistic/eslint-plugin": "^2.1.0",
|
|
69
73
|
"@toml-tools/parser": "^1.0.0",
|
|
70
74
|
"@typescript-eslint/eslint-plugin": "^7.9.0",
|
|
71
75
|
"@typescript-eslint/parser": "^7.9.0",
|
|
72
76
|
"eslint-config-flat-gitignore": "^0.1.5",
|
|
73
|
-
"eslint-
|
|
77
|
+
"eslint-merge-processors": "^0.1.0",
|
|
74
78
|
"eslint-plugin-antfu": "^2.2.0",
|
|
75
|
-
"eslint-plugin-command": "^0.2.
|
|
79
|
+
"eslint-plugin-command": "^0.2.3",
|
|
76
80
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
77
81
|
"eslint-plugin-import-x": "^0.5.0",
|
|
78
|
-
"eslint-plugin-jsdoc": "^48.2.
|
|
82
|
+
"eslint-plugin-jsdoc": "^48.2.5",
|
|
79
83
|
"eslint-plugin-jsonc": "^2.15.1",
|
|
80
|
-
"eslint-plugin-n": "^17.
|
|
84
|
+
"eslint-plugin-n": "^17.7.0",
|
|
81
85
|
"eslint-plugin-no-only-tests": "^3.1.0",
|
|
82
86
|
"eslint-plugin-perfectionist": "^2.10.0",
|
|
83
|
-
"eslint-plugin-prettier": "^5.1.3",
|
|
84
87
|
"eslint-plugin-regexp": "^2.5.0",
|
|
85
|
-
"eslint-plugin-tailwindcss": "^3.15.
|
|
88
|
+
"eslint-plugin-tailwindcss": "^3.15.2",
|
|
86
89
|
"eslint-plugin-unicorn": "^53.0.0",
|
|
87
90
|
"eslint-plugin-unused-imports": "^3.2.0",
|
|
88
91
|
"eslint-plugin-vitest": "^0.5.4",
|
|
89
92
|
"eslint-plugin-vue": "^9.26.0",
|
|
93
|
+
"eslint-processor-vue-blocks": "^0.1.2",
|
|
90
94
|
"eslint-typegen": "^0.2.4",
|
|
91
|
-
"globals": "^15.
|
|
95
|
+
"globals": "^15.3.0",
|
|
92
96
|
"jsonc-eslint-parser": "^2.4.0",
|
|
93
97
|
"local-pkg": "^0.5.0",
|
|
94
98
|
"parse-gitignore": "^2.0.0",
|
|
95
|
-
"picocolors": "^1.0.
|
|
96
|
-
"prettier": "^3.2.5",
|
|
99
|
+
"picocolors": "^1.0.1",
|
|
97
100
|
"prettier-plugin-toml": "^2.0.1",
|
|
98
101
|
"prompts": "^2.4.2",
|
|
99
102
|
"vue-eslint-parser": "^9.4.2",
|
|
@@ -101,15 +104,18 @@
|
|
|
101
104
|
},
|
|
102
105
|
"devDependencies": {
|
|
103
106
|
"@antfu/ni": "^0.21.12",
|
|
107
|
+
"@eslint-react/eslint-plugin": "^1.5.12",
|
|
104
108
|
"@eslint/config-inspector": "^0.4.8",
|
|
109
|
+
"@stylistic/eslint-plugin-migrate": "^2.1.0",
|
|
105
110
|
"@types/eslint": "^8.56.10",
|
|
106
111
|
"@types/fs-extra": "^11.0.4",
|
|
107
|
-
"@types/node": "^20.12.
|
|
112
|
+
"@types/node": "^20.12.12",
|
|
108
113
|
"@types/prompts": "^2.4.9",
|
|
109
114
|
"@types/yargs": "^17.0.32",
|
|
110
115
|
"@unocss/eslint-plugin": "^0.60.2",
|
|
111
116
|
"bumpp": "^9.4.1",
|
|
112
|
-
"eslint": "9.
|
|
117
|
+
"eslint": "^9.3.0",
|
|
118
|
+
"eslint-plugin-format": "^0.1.1",
|
|
113
119
|
"eslint-plugin-react": "^7.34.1",
|
|
114
120
|
"eslint-plugin-react-hooks": "^4.6.2",
|
|
115
121
|
"eslint-plugin-react-refresh": "^0.4.7",
|
|
@@ -123,7 +129,7 @@
|
|
|
123
129
|
"svelte": "^4.2.17",
|
|
124
130
|
"svelte-eslint-parser": "^0.36.0",
|
|
125
131
|
"tsup": "^8.0.2",
|
|
126
|
-
"tsx": "^4.10.
|
|
132
|
+
"tsx": "^4.10.5",
|
|
127
133
|
"typescript": "^5.4.5"
|
|
128
134
|
},
|
|
129
135
|
"simple-git-hooks": {
|