@coderwyd/eslint-config 4.2.1 → 4.3.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/cli.d.ts +1 -2
- package/dist/cli.js +155 -197
- package/dist/index.d.ts +7668 -8047
- package/dist/index.js +1625 -1862
- package/package.json +39 -36
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coderwyd/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "4.
|
|
4
|
+
"version": "4.3.0",
|
|
5
5
|
"description": "Donny's ESLint config",
|
|
6
6
|
"author": "Donny Wang <donny526@outlook.com> (https://github.com/coderwyd/)",
|
|
7
7
|
"license": "MIT",
|
|
@@ -17,9 +17,12 @@
|
|
|
17
17
|
"access": "public"
|
|
18
18
|
},
|
|
19
19
|
"exports": {
|
|
20
|
-
".": "./dist/index.js"
|
|
20
|
+
".": "./dist/index.js",
|
|
21
|
+
"./cli": "./dist/cli.js",
|
|
22
|
+
"./package.json": "./package.json"
|
|
21
23
|
},
|
|
22
24
|
"main": "./dist/index.js",
|
|
25
|
+
"module": "./dist/index.js",
|
|
23
26
|
"types": "./dist/index.d.ts",
|
|
24
27
|
"bin": "./bin/index.js",
|
|
25
28
|
"files": [
|
|
@@ -67,63 +70,63 @@
|
|
|
67
70
|
}
|
|
68
71
|
},
|
|
69
72
|
"dependencies": {
|
|
70
|
-
"@antfu/install-pkg": "^1.
|
|
71
|
-
"@eslint-community/eslint-plugin-eslint-comments": "^4.
|
|
72
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
73
|
-
"@typescript-eslint/parser": "^8.
|
|
74
|
-
"@vitest/eslint-plugin": "^1.1
|
|
73
|
+
"@antfu/install-pkg": "^1.1.0",
|
|
74
|
+
"@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
|
|
75
|
+
"@typescript-eslint/eslint-plugin": "^8.33.0",
|
|
76
|
+
"@typescript-eslint/parser": "^8.33.0",
|
|
77
|
+
"@vitest/eslint-plugin": "^1.2.1",
|
|
75
78
|
"eslint-config-flat-gitignore": "^2.1.0",
|
|
76
|
-
"eslint-config-prettier": "^10.1.
|
|
79
|
+
"eslint-config-prettier": "^10.1.5",
|
|
77
80
|
"eslint-plugin-antfu": "^3.1.1",
|
|
78
|
-
"eslint-plugin-command": "^3.2.
|
|
81
|
+
"eslint-plugin-command": "^3.2.1",
|
|
79
82
|
"eslint-plugin-de-morgan": "^1.2.1",
|
|
80
83
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
81
|
-
"eslint-plugin-import-x": "^4.
|
|
82
|
-
"eslint-plugin-jsdoc": "^50.6.
|
|
83
|
-
"eslint-plugin-jsonc": "^2.
|
|
84
|
-
"eslint-plugin-n": "^17.
|
|
84
|
+
"eslint-plugin-import-x": "^4.13.3",
|
|
85
|
+
"eslint-plugin-jsdoc": "^50.6.17",
|
|
86
|
+
"eslint-plugin-jsonc": "^2.20.1",
|
|
87
|
+
"eslint-plugin-n": "^17.18.0",
|
|
85
88
|
"eslint-plugin-no-only-tests": "^3.3.0",
|
|
86
|
-
"eslint-plugin-perfectionist": "^4.
|
|
89
|
+
"eslint-plugin-perfectionist": "^4.13.0",
|
|
87
90
|
"eslint-plugin-regexp": "^2.7.0",
|
|
88
|
-
"eslint-plugin-unicorn": "^
|
|
91
|
+
"eslint-plugin-unicorn": "^59.0.1",
|
|
89
92
|
"eslint-plugin-unused-imports": "^4.1.4",
|
|
90
|
-
"eslint-plugin-vue": "^10.
|
|
91
|
-
"eslint-plugin-yml": "^1.
|
|
92
|
-
"eslint-typegen": "^2.
|
|
93
|
-
"globals": "^16.
|
|
93
|
+
"eslint-plugin-vue": "^10.1.0",
|
|
94
|
+
"eslint-plugin-yml": "^1.18.0",
|
|
95
|
+
"eslint-typegen": "^2.2.0",
|
|
96
|
+
"globals": "^16.2.0",
|
|
94
97
|
"jsonc-eslint-parser": "^2.4.0",
|
|
95
98
|
"local-pkg": "^1.1.1",
|
|
96
99
|
"parse-gitignore": "^2.0.0",
|
|
97
100
|
"picocolors": "^1.1.1",
|
|
98
101
|
"prettier": "^3.5.3",
|
|
99
102
|
"prompts": "^2.4.2",
|
|
100
|
-
"vue-eslint-parser": "^10.1.
|
|
103
|
+
"vue-eslint-parser": "^10.1.3",
|
|
101
104
|
"yaml-eslint-parser": "^1.3.0",
|
|
102
|
-
"yargs": "^
|
|
105
|
+
"yargs": "^18.0.0"
|
|
103
106
|
},
|
|
104
107
|
"devDependencies": {
|
|
105
|
-
"@antfu/ni": "^
|
|
106
|
-
"@eslint-react/eslint-plugin": "^1.
|
|
108
|
+
"@antfu/ni": "^25.0.0",
|
|
109
|
+
"@eslint-react/eslint-plugin": "^1.50.0",
|
|
107
110
|
"@eslint/config-inspector": "^1.0.2",
|
|
108
111
|
"@types/eslint-config-prettier": "^6.11.3",
|
|
109
|
-
"@types/node": "^22.
|
|
112
|
+
"@types/node": "^22.15.23",
|
|
110
113
|
"@types/prompts": "^2.4.9",
|
|
111
114
|
"@types/yargs": "^17.0.33",
|
|
112
|
-
"@unocss/eslint-plugin": "^66.1.
|
|
113
|
-
"bumpp": "^10.1.
|
|
114
|
-
"eslint": "^9.
|
|
115
|
-
"eslint-plugin-react-compiler": "19.0.0-beta-
|
|
115
|
+
"@unocss/eslint-plugin": "^66.1.2",
|
|
116
|
+
"bumpp": "^10.1.1",
|
|
117
|
+
"eslint": "^9.27.0",
|
|
118
|
+
"eslint-plugin-react-compiler": "19.0.0-beta-ebf51a3-20250411",
|
|
116
119
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
117
|
-
"eslint-plugin-react-refresh": "^0.4.
|
|
118
|
-
"eslint-plugin-svelte": "^3.
|
|
120
|
+
"eslint-plugin-react-refresh": "^0.4.20",
|
|
121
|
+
"eslint-plugin-svelte": "^3.9.0",
|
|
119
122
|
"eslint-plugin-tailwindcss": "^3.18.0",
|
|
120
123
|
"jiti": "^2.4.2",
|
|
121
124
|
"nano-staged": "^0.8.0",
|
|
122
|
-
"simple-git-hooks": "^2.
|
|
123
|
-
"svelte": "^5.
|
|
124
|
-
"svelte-eslint-parser": "^1.
|
|
125
|
-
"
|
|
126
|
-
"typescript": "^5.8.
|
|
125
|
+
"simple-git-hooks": "^2.13.0",
|
|
126
|
+
"svelte": "^5.33.4",
|
|
127
|
+
"svelte-eslint-parser": "^1.2.0",
|
|
128
|
+
"tsdown": "0.12.3",
|
|
129
|
+
"typescript": "^5.8.3"
|
|
127
130
|
},
|
|
128
131
|
"simple-git-hooks": {
|
|
129
132
|
"pre-commit": "pnpm exec nano-staged"
|
|
@@ -132,7 +135,7 @@
|
|
|
132
135
|
"*": "eslint --fix"
|
|
133
136
|
},
|
|
134
137
|
"scripts": {
|
|
135
|
-
"build": "nr build:typegen &&
|
|
138
|
+
"build": "nr build:typegen && tsdown",
|
|
136
139
|
"dev": "pnpx @eslint/config-inspector",
|
|
137
140
|
"lint": "eslint .",
|
|
138
141
|
"lint:fix": "eslint . --fix",
|