@coderwyd/eslint-config 2.6.4 → 2.7.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/dist/cli.cjs +16 -15
- package/dist/cli.js +16 -15
- package/dist/index.cjs +1440 -1396
- package/dist/index.d.cts +410 -102
- package/dist/index.d.ts +410 -102
- package/dist/index.js +1444 -1407
- package/package.json +35 -33
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.7.1",
|
|
5
5
|
"description": "Donny's ESLint config",
|
|
6
6
|
"author": "Donny Wang <donny526@outlook.com> (https://github.com/coderwyd/)",
|
|
7
7
|
"license": "MIT",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"peerDependencies": {
|
|
38
38
|
"@eslint-react/eslint-plugin": "^1.5.8",
|
|
39
39
|
"@unocss/eslint-plugin": ">=0.50.0",
|
|
40
|
-
"eslint": "^
|
|
40
|
+
"eslint": "^9.5.0",
|
|
41
41
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
42
42
|
"eslint-plugin-react-refresh": "^0.4.4",
|
|
43
43
|
"eslint-plugin-svelte": ">=2.35.1",
|
|
@@ -68,80 +68,82 @@
|
|
|
68
68
|
}
|
|
69
69
|
},
|
|
70
70
|
"dependencies": {
|
|
71
|
-
"@antfu/install-pkg": "^0.
|
|
72
|
-
"@
|
|
71
|
+
"@antfu/install-pkg": "^0.4.1",
|
|
72
|
+
"@eslint-community/eslint-plugin-eslint-comments": "^4.4.0",
|
|
73
|
+
"@stylistic/eslint-plugin": "^2.7.2",
|
|
73
74
|
"@toml-tools/parser": "^1.0.0",
|
|
74
|
-
"@typescript-eslint/eslint-plugin": "^8.0
|
|
75
|
-
"@typescript-eslint/parser": "^8.0
|
|
76
|
-
"@vitest/eslint-plugin": "^1.0
|
|
77
|
-
"eslint-config-flat-gitignore": "^0.
|
|
75
|
+
"@typescript-eslint/eslint-plugin": "^8.4.0",
|
|
76
|
+
"@typescript-eslint/parser": "^8.4.0",
|
|
77
|
+
"@vitest/eslint-plugin": "^1.1.0",
|
|
78
|
+
"eslint-config-flat-gitignore": "^0.3.0",
|
|
78
79
|
"eslint-merge-processors": "^0.1.0",
|
|
79
|
-
"eslint-plugin-antfu": "^2.
|
|
80
|
+
"eslint-plugin-antfu": "^2.5.0",
|
|
80
81
|
"eslint-plugin-command": "^0.2.3",
|
|
81
82
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
82
83
|
"eslint-plugin-format": "^0.1.2",
|
|
83
|
-
"eslint-plugin-import-x": "^
|
|
84
|
-
"eslint-plugin-jsdoc": "^50.
|
|
84
|
+
"eslint-plugin-import-x": "^4.2.1",
|
|
85
|
+
"eslint-plugin-jsdoc": "^50.2.2",
|
|
85
86
|
"eslint-plugin-jsonc": "^2.16.0",
|
|
86
87
|
"eslint-plugin-n": "^17.10.2",
|
|
87
|
-
"eslint-plugin-no-only-tests": "^3.
|
|
88
|
-
"eslint-plugin-perfectionist": "^3.
|
|
88
|
+
"eslint-plugin-no-only-tests": "^3.3.0",
|
|
89
|
+
"eslint-plugin-perfectionist": "^3.4.0",
|
|
89
90
|
"eslint-plugin-regexp": "^2.6.0",
|
|
90
91
|
"eslint-plugin-unicorn": "^55.0.0",
|
|
91
92
|
"eslint-plugin-unused-imports": "^4.1.3",
|
|
92
|
-
"eslint-plugin-vue": "^9.
|
|
93
|
+
"eslint-plugin-vue": "^9.28.0",
|
|
93
94
|
"eslint-processor-vue-blocks": "^0.1.2",
|
|
94
|
-
"eslint-typegen": "^0.3.
|
|
95
|
+
"eslint-typegen": "^0.3.1",
|
|
95
96
|
"globals": "^15.9.0",
|
|
96
97
|
"jsonc-eslint-parser": "^2.4.0",
|
|
97
98
|
"local-pkg": "^0.5.0",
|
|
98
99
|
"parse-gitignore": "^2.0.0",
|
|
99
|
-
"picocolors": "^1.0
|
|
100
|
+
"picocolors": "^1.1.0",
|
|
100
101
|
"prettier-plugin-toml": "^2.0.1",
|
|
101
102
|
"prompts": "^2.4.2",
|
|
102
103
|
"vue-eslint-parser": "^9.4.3",
|
|
103
104
|
"yargs": "^17.7.2"
|
|
104
105
|
},
|
|
105
106
|
"devDependencies": {
|
|
106
|
-
"@antfu/ni": "^0.
|
|
107
|
-
"@eslint-react/eslint-plugin": "^1.
|
|
108
|
-
"@eslint/config-inspector": "^0.5.
|
|
109
|
-
"@stylistic/eslint-plugin-migrate": "^2.
|
|
110
|
-
"@types/eslint": "^9.6.
|
|
107
|
+
"@antfu/ni": "^0.23.0",
|
|
108
|
+
"@eslint-react/eslint-plugin": "^1.13.0",
|
|
109
|
+
"@eslint/config-inspector": "^0.5.4",
|
|
110
|
+
"@stylistic/eslint-plugin-migrate": "^2.7.2",
|
|
111
|
+
"@types/eslint": "^9.6.1",
|
|
111
112
|
"@types/fs-extra": "^11.0.4",
|
|
112
|
-
"@types/node": "^
|
|
113
|
+
"@types/node": "^22.5.4",
|
|
113
114
|
"@types/prompts": "^2.4.9",
|
|
114
115
|
"@types/yargs": "^17.0.33",
|
|
115
|
-
"@unocss/eslint-plugin": "^0.
|
|
116
|
-
"bumpp": "^9.
|
|
117
|
-
"eslint": "^9.9.
|
|
116
|
+
"@unocss/eslint-plugin": "^0.62.3",
|
|
117
|
+
"bumpp": "^9.5.2",
|
|
118
|
+
"eslint": "^9.9.1",
|
|
118
119
|
"eslint-plugin-react-hooks": "^4.6.2",
|
|
119
|
-
"eslint-plugin-react-refresh": "^0.4.
|
|
120
|
+
"eslint-plugin-react-refresh": "^0.4.11",
|
|
120
121
|
"eslint-plugin-svelte": "2.43.0",
|
|
121
122
|
"eslint-plugin-tailwindcss": "^3.17.4",
|
|
122
|
-
"execa": "^9.3.
|
|
123
|
+
"execa": "^9.3.1",
|
|
123
124
|
"fast-glob": "^3.3.2",
|
|
124
125
|
"fs-extra": "^11.2.0",
|
|
125
|
-
"
|
|
126
|
+
"jiti": "^1.21.6",
|
|
127
|
+
"lint-staged": "^15.2.10",
|
|
126
128
|
"rimraf": "^6.0.1",
|
|
127
129
|
"simple-git-hooks": "^2.11.1",
|
|
128
|
-
"svelte": "^4.2.
|
|
130
|
+
"svelte": "^4.2.19",
|
|
129
131
|
"svelte-eslint-parser": "^0.41.0",
|
|
130
132
|
"tsup": "^8.2.4",
|
|
131
|
-
"tsx": "^4.
|
|
133
|
+
"tsx": "^4.19.0",
|
|
132
134
|
"typescript": "^5.5.4"
|
|
133
135
|
},
|
|
134
136
|
"simple-git-hooks": {
|
|
135
137
|
"pre-commit": "pnpx nano-staged"
|
|
136
138
|
},
|
|
137
139
|
"nano-staged": {
|
|
138
|
-
"*": "eslint --fix"
|
|
140
|
+
"*": "eslint --flag unstable_ts_config --fix"
|
|
139
141
|
},
|
|
140
142
|
"scripts": {
|
|
141
143
|
"build": "nr build:typegen && tsup",
|
|
142
144
|
"dev": "npx @eslint/config-inspector",
|
|
143
|
-
"lint": "eslint .",
|
|
144
|
-
"lint:fix": "eslint . --fix",
|
|
145
|
+
"lint": "eslint --flag unstable_ts_config .",
|
|
146
|
+
"lint:fix": "eslint --flag unstable_ts_config . --fix",
|
|
145
147
|
"build:inspector": "pnpm build && npx @eslint/config-inspector build",
|
|
146
148
|
"build:typegen": "tsx scripts/typegen.ts",
|
|
147
149
|
"release": "bumpp && pnpm publish",
|