@lincy/eslint-config 5.9.0 → 6.0.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/chunk-DWy1uDak.cjs +39 -0
- package/dist/index.cjs +66 -81
- package/dist/index.d.cts +626 -251
- package/dist/{index.d.ts → index.d.mts} +627 -252
- package/dist/{index.js → index.mjs} +55 -43
- package/dist/lib-BJFVxmuP.cjs +11153 -0
- package/dist/lib-D3OsxTXr.mjs +11157 -0
- package/package.json +46 -44
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lincy/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "6.0.1",
|
|
5
5
|
"description": "LinCenYing's ESLint config",
|
|
6
6
|
"author": "LinCenYing <lincenying@gmail.com> (https://github.com/lincenying/)",
|
|
7
7
|
"license": "MIT",
|
|
@@ -11,25 +11,25 @@
|
|
|
11
11
|
],
|
|
12
12
|
"exports": {
|
|
13
13
|
".": {
|
|
14
|
-
"import": "./dist/index.
|
|
14
|
+
"import": "./dist/index.mjs",
|
|
15
15
|
"require": "./dist/index.cjs"
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
18
|
"main": "./dist/index.cjs",
|
|
19
|
-
"module": "./dist/index.
|
|
20
|
-
"types": "./dist/index.d.
|
|
19
|
+
"module": "./dist/index.mjs",
|
|
20
|
+
"types": "./dist/index.d.mts",
|
|
21
21
|
"files": [
|
|
22
22
|
"dist"
|
|
23
23
|
],
|
|
24
24
|
"peerDependencies": {
|
|
25
|
-
"@eslint-react/eslint-plugin": "^
|
|
26
|
-
"@next/eslint-plugin-next": "
|
|
25
|
+
"@eslint-react/eslint-plugin": "^2.3.5",
|
|
26
|
+
"@next/eslint-plugin-next": ">=15.0.0",
|
|
27
27
|
"@prettier/plugin-xml": "^3.4.1",
|
|
28
28
|
"@unocss/eslint-plugin": ">=0.50.0",
|
|
29
|
-
"eslint": "
|
|
29
|
+
"eslint": "^9.10.0",
|
|
30
30
|
"eslint-plugin-format": ">=0.1.0",
|
|
31
|
-
"eslint-plugin-react-hooks": "^
|
|
32
|
-
"eslint-plugin-react-refresh": "^0.4.
|
|
31
|
+
"eslint-plugin-react-hooks": "^7.0.0",
|
|
32
|
+
"eslint-plugin-react-refresh": "^0.4.19"
|
|
33
33
|
},
|
|
34
34
|
"peerDependenciesMeta": {
|
|
35
35
|
"@eslint-react/eslint-plugin": {
|
|
@@ -58,31 +58,31 @@
|
|
|
58
58
|
"@antfu/install-pkg": "^1.1.0",
|
|
59
59
|
"@clack/prompts": "^0.11.0",
|
|
60
60
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
|
|
61
|
-
"@eslint/markdown": "^7.
|
|
62
|
-
"@stylistic/eslint-plugin": "^5.
|
|
63
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
64
|
-
"@typescript-eslint/parser": "^8.
|
|
65
|
-
"@vitest/eslint-plugin": "^1.3
|
|
61
|
+
"@eslint/markdown": "^7.5.1",
|
|
62
|
+
"@stylistic/eslint-plugin": "^5.6.1",
|
|
63
|
+
"@typescript-eslint/eslint-plugin": "^8.47.0",
|
|
64
|
+
"@typescript-eslint/parser": "^8.47.0",
|
|
65
|
+
"@vitest/eslint-plugin": "^1.4.3",
|
|
66
66
|
"eslint-config-flat-gitignore": "^2.1.0",
|
|
67
67
|
"eslint-flat-config-utils": "^2.1.4",
|
|
68
68
|
"eslint-merge-processors": "^2.0.0",
|
|
69
69
|
"eslint-parser-plain": "^0.1.1",
|
|
70
70
|
"eslint-plugin-antfu": "^3.1.1",
|
|
71
71
|
"eslint-plugin-import-lite": "^0.3.0",
|
|
72
|
-
"eslint-plugin-jsdoc": "^
|
|
73
|
-
"eslint-plugin-jsonc": "^2.
|
|
72
|
+
"eslint-plugin-jsdoc": "^61.2.1",
|
|
73
|
+
"eslint-plugin-jsonc": "^2.21.0",
|
|
74
74
|
"eslint-plugin-n": "^17.23.1",
|
|
75
75
|
"eslint-plugin-no-only-tests": "^3.3.0",
|
|
76
|
-
"eslint-plugin-perfectionist": "^4.15.
|
|
77
|
-
"eslint-plugin-pnpm": "^1.
|
|
76
|
+
"eslint-plugin-perfectionist": "^4.15.1",
|
|
77
|
+
"eslint-plugin-pnpm": "^1.3.0",
|
|
78
78
|
"eslint-plugin-regexp": "^2.10.0",
|
|
79
79
|
"eslint-plugin-toml": "^0.12.0",
|
|
80
|
-
"eslint-plugin-unicorn": "^
|
|
81
|
-
"eslint-plugin-unused-imports": "^4.
|
|
82
|
-
"eslint-plugin-vue": "^10.5.
|
|
83
|
-
"eslint-plugin-yml": "^1.
|
|
80
|
+
"eslint-plugin-unicorn": "^62.0.0",
|
|
81
|
+
"eslint-plugin-unused-imports": "^4.3.0",
|
|
82
|
+
"eslint-plugin-vue": "^10.5.1",
|
|
83
|
+
"eslint-plugin-yml": "^1.19.0",
|
|
84
84
|
"eslint-processor-vue-blocks": "^2.0.0",
|
|
85
|
-
"globals": "^16.
|
|
85
|
+
"globals": "^16.5.0",
|
|
86
86
|
"jsonc-eslint-parser": "^2.4.1",
|
|
87
87
|
"local-pkg": "^1.1.2",
|
|
88
88
|
"prompts": "^2.4.2",
|
|
@@ -91,42 +91,43 @@
|
|
|
91
91
|
"yaml-eslint-parser": "^1.3.0"
|
|
92
92
|
},
|
|
93
93
|
"devDependencies": {
|
|
94
|
-
"@antfu/ni": "^
|
|
95
|
-
"@eslint-react/eslint-plugin": "^
|
|
94
|
+
"@antfu/ni": "^27.0.1",
|
|
95
|
+
"@eslint-react/eslint-plugin": "^2.3.5",
|
|
96
96
|
"@eslint-types/typescript-eslint": "^7.5.0",
|
|
97
97
|
"@eslint-types/unicorn": "^52.0.0",
|
|
98
|
-
"@eslint/config-inspector": "^1.
|
|
99
|
-
"@next/eslint-plugin-next": "^
|
|
98
|
+
"@eslint/config-inspector": "^1.4.1",
|
|
99
|
+
"@next/eslint-plugin-next": "^16.0.3",
|
|
100
100
|
"@prettier/plugin-xml": "^3.4.2",
|
|
101
101
|
"@stylistic/eslint-plugin-migrate": "^4.4.1",
|
|
102
|
-
"@types/node": "^24.
|
|
103
|
-
"@types/react": "^19.
|
|
104
|
-
"@unocss/eslint-plugin": "^66.5.
|
|
105
|
-
"bumpp": "^10.
|
|
106
|
-
"eslint": "^9.
|
|
102
|
+
"@types/node": "^24.10.1",
|
|
103
|
+
"@types/react": "^19.2.6",
|
|
104
|
+
"@unocss/eslint-plugin": "^66.5.7",
|
|
105
|
+
"bumpp": "^10.3.1",
|
|
106
|
+
"eslint": "^9.39.1",
|
|
107
|
+
"eslint-plugin-erasable-syntax-only": "^0.4.0",
|
|
107
108
|
"eslint-plugin-format": "^1.0.2",
|
|
108
|
-
"eslint-plugin-react-hooks": "^
|
|
109
|
-
"eslint-plugin-react-refresh": "^0.4.
|
|
109
|
+
"eslint-plugin-react-hooks": "^7.0.1",
|
|
110
|
+
"eslint-plugin-react-refresh": "^0.4.24",
|
|
110
111
|
"eslint-typegen": "^2.3.0",
|
|
111
112
|
"esno": "^4.8.0",
|
|
112
113
|
"execa": "^9.6.0",
|
|
113
|
-
"lint-staged": "^16.2.
|
|
114
|
+
"lint-staged": "^16.2.6",
|
|
114
115
|
"prettier": "^3.6.2",
|
|
115
|
-
"react": "^19.
|
|
116
|
+
"react": "^19.2.0",
|
|
116
117
|
"simple-git-hooks": "^2.13.1",
|
|
117
118
|
"simple-open-url": "^3.0.1",
|
|
118
119
|
"sucrase": "^3.35.0",
|
|
119
120
|
"tinyglobby": "^0.2.15",
|
|
120
|
-
"tsdown": "^0.
|
|
121
|
-
"typescript": "^5.9.
|
|
122
|
-
"vitest": "^
|
|
123
|
-
"vue": "^3.5.
|
|
124
|
-
"@lincy/eslint-config": "
|
|
121
|
+
"tsdown": "^0.16.5",
|
|
122
|
+
"typescript": "^5.9.3",
|
|
123
|
+
"vitest": "^4.0.10",
|
|
124
|
+
"vue": "^3.5.24",
|
|
125
|
+
"@lincy/eslint-config": "6.0.1"
|
|
125
126
|
},
|
|
126
|
-
"simple-git-hooks": {
|
|
127
|
+
"simple-git-hooks[-del]": {
|
|
127
128
|
"pre-commit": "npx lint-staged"
|
|
128
129
|
},
|
|
129
|
-
"lint-staged": {
|
|
130
|
+
"lint-staged[-del]": {
|
|
130
131
|
"*.{[jt]s?(x),vue,md}": "eslint --fix"
|
|
131
132
|
},
|
|
132
133
|
"publishConfig": {
|
|
@@ -141,6 +142,7 @@
|
|
|
141
142
|
"typegen": "tsx scripts/typegen.ts",
|
|
142
143
|
"lint": "pnpm run stub && eslint .",
|
|
143
144
|
"lint:fix": "eslint . --fix",
|
|
144
|
-
"lint:ts": "tsc --noEmit"
|
|
145
|
+
"lint:ts": "tsc --noEmit",
|
|
146
|
+
"prepare[-del]": "npx simple-git-hooks"
|
|
145
147
|
}
|
|
146
148
|
}
|