@lincy/eslint-config 4.7.0 → 5.1.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/README.md +6 -7
- package/dist/index.cjs +666 -552
- package/dist/index.d.cts +594 -190
- package/dist/index.d.ts +594 -190
- package/dist/index.js +667 -563
- package/package.json +48 -37
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lincy/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "5.1.0",
|
|
5
5
|
"packageManager": "pnpm@9.1.0",
|
|
6
6
|
"description": "LinCenYing's ESLint config",
|
|
7
7
|
"author": "LinCenYing <lincenying@gmail.com> (https://github.com/lincenying/)",
|
|
@@ -32,14 +32,15 @@
|
|
|
32
32
|
"test": "vitest",
|
|
33
33
|
"typegen": "esno scripts/typegen.ts",
|
|
34
34
|
"lint": "pnpm run stub && eslint .",
|
|
35
|
-
"lint:fix": "eslint . --fix",
|
|
35
|
+
"lint:fix": "eslint . --flag unstable_ts_config --fix",
|
|
36
36
|
"lint:ts": "tsc --noEmit",
|
|
37
37
|
"prepare": "npx simple-git-hooks"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
40
|
"@eslint-react/eslint-plugin": "^7.33.2",
|
|
41
|
+
"@prettier/plugin-xml": "^3.4.1",
|
|
41
42
|
"@unocss/eslint-plugin": ">=0.50.0",
|
|
42
|
-
"eslint": ">=
|
|
43
|
+
"eslint": ">=9.5.0",
|
|
43
44
|
"eslint-plugin-format": ">=0.1.0",
|
|
44
45
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
45
46
|
"eslint-plugin-react-refresh": "^0.4.4"
|
|
@@ -48,6 +49,9 @@
|
|
|
48
49
|
"@eslint-react/eslint-plugin": {
|
|
49
50
|
"optional": true
|
|
50
51
|
},
|
|
52
|
+
"@prettier/plugin-xml": {
|
|
53
|
+
"optional": true
|
|
54
|
+
},
|
|
51
55
|
"@unocss/eslint-plugin": {
|
|
52
56
|
"optional": true
|
|
53
57
|
},
|
|
@@ -63,29 +67,30 @@
|
|
|
63
67
|
},
|
|
64
68
|
"dependencies": {
|
|
65
69
|
"@antfu/eslint-define-config": "1.23.0-2",
|
|
66
|
-
"@antfu/install-pkg": "^0.
|
|
67
|
-
"@
|
|
68
|
-
"@
|
|
69
|
-
"@
|
|
70
|
-
"eslint-
|
|
71
|
-
"eslint-
|
|
70
|
+
"@antfu/install-pkg": "^0.4.1",
|
|
71
|
+
"@clack/prompts": "^0.7.0",
|
|
72
|
+
"@eslint-community/eslint-plugin-eslint-comments": "^4.4.0",
|
|
73
|
+
"@eslint/markdown": "^6.1.0",
|
|
74
|
+
"@stylistic/eslint-plugin": "2.8.0",
|
|
75
|
+
"@typescript-eslint/eslint-plugin": "8.5.0",
|
|
76
|
+
"@typescript-eslint/parser": "8.5.0",
|
|
77
|
+
"@vitest/eslint-plugin": "^1.1.3",
|
|
78
|
+
"eslint-config-flat-gitignore": "^0.3.0",
|
|
79
|
+
"eslint-flat-config-utils": "^0.4.0",
|
|
72
80
|
"eslint-merge-processors": "^0.1.0",
|
|
73
81
|
"eslint-parser-plain": "^0.1.0",
|
|
74
|
-
"eslint-plugin-antfu": "^2.
|
|
75
|
-
"eslint-plugin-
|
|
76
|
-
"eslint-plugin-
|
|
77
|
-
"eslint-plugin-jsdoc": "^48.10.2",
|
|
82
|
+
"eslint-plugin-antfu": "^2.6.0",
|
|
83
|
+
"eslint-plugin-import-x": "^4.2.1",
|
|
84
|
+
"eslint-plugin-jsdoc": "^50.2.2",
|
|
78
85
|
"eslint-plugin-jsonc": "^2.16.0",
|
|
79
|
-
"eslint-plugin-
|
|
80
|
-
"eslint-plugin-
|
|
81
|
-
"eslint-plugin-
|
|
82
|
-
"eslint-plugin-perfectionist": "^3.0.0",
|
|
86
|
+
"eslint-plugin-n": "^17.10.2",
|
|
87
|
+
"eslint-plugin-no-only-tests": "^3.3.0",
|
|
88
|
+
"eslint-plugin-perfectionist": "^3.5.0",
|
|
83
89
|
"eslint-plugin-regexp": "^2.6.0",
|
|
84
90
|
"eslint-plugin-toml": "^0.11.1",
|
|
85
91
|
"eslint-plugin-unicorn": "^55.0.0",
|
|
86
|
-
"eslint-plugin-unused-imports": "^4.
|
|
87
|
-
"eslint-plugin-
|
|
88
|
-
"eslint-plugin-vue": "^9.27.0",
|
|
92
|
+
"eslint-plugin-unused-imports": "^4.1.3",
|
|
93
|
+
"eslint-plugin-vue": "^9.28.0",
|
|
89
94
|
"eslint-plugin-yml": "^1.14.0",
|
|
90
95
|
"eslint-processor-vue-blocks": "^0.1.2",
|
|
91
96
|
"globals": "^15.9.0",
|
|
@@ -97,38 +102,38 @@
|
|
|
97
102
|
"yaml-eslint-parser": "^1.2.3"
|
|
98
103
|
},
|
|
99
104
|
"devDependencies": {
|
|
100
|
-
"@antfu/ni": "^0.
|
|
101
|
-
"@eslint-react/eslint-plugin": "^1.
|
|
105
|
+
"@antfu/ni": "^0.23.0",
|
|
106
|
+
"@eslint-react/eslint-plugin": "^1.14.1",
|
|
102
107
|
"@eslint-types/jsdoc": "48.2.2",
|
|
103
108
|
"@eslint-types/typescript-eslint": "^7.5.0",
|
|
104
109
|
"@eslint-types/unicorn": "^52.0.0",
|
|
105
|
-
"@eslint/config-inspector": "^0.5.
|
|
110
|
+
"@eslint/config-inspector": "^0.5.4",
|
|
106
111
|
"@lincy/eslint-config": "workspace:*",
|
|
107
|
-
"@
|
|
108
|
-
"@
|
|
109
|
-
"@types/node": "^22.
|
|
112
|
+
"@prettier/plugin-xml": "^3.4.1",
|
|
113
|
+
"@stylistic/eslint-plugin-migrate": "^2.8.0",
|
|
114
|
+
"@types/node": "^22.5.4",
|
|
110
115
|
"@types/prompts": "^2.4.9",
|
|
111
|
-
"@unocss/eslint-plugin": "^0.
|
|
112
|
-
"bumpp": "^9.
|
|
113
|
-
"eslint": "9.
|
|
116
|
+
"@unocss/eslint-plugin": "^0.62.3",
|
|
117
|
+
"bumpp": "^9.5.2",
|
|
118
|
+
"eslint": "^9.10.0",
|
|
114
119
|
"eslint-plugin-format": "^0.1.2",
|
|
115
120
|
"eslint-plugin-react-hooks": "^4.6.2",
|
|
116
|
-
"eslint-plugin-react-refresh": "^0.4.
|
|
121
|
+
"eslint-plugin-react-refresh": "^0.4.11",
|
|
117
122
|
"eslint-ts-patch": "9.8.0-1",
|
|
118
|
-
"eslint-typegen": "^0.3.
|
|
123
|
+
"eslint-typegen": "^0.3.2",
|
|
119
124
|
"esno": "^4.7.0",
|
|
120
|
-
"lint-staged": "^15.2.
|
|
125
|
+
"lint-staged": "^15.2.10",
|
|
121
126
|
"prettier": "^3.3.3",
|
|
122
127
|
"react": "^18.3.1",
|
|
123
128
|
"rimraf": "^6.0.1",
|
|
124
129
|
"simple-git-hooks": "^2.11.1",
|
|
125
130
|
"simple-open-url": "^3.0.1",
|
|
126
131
|
"sucrase": "^3.35.0",
|
|
127
|
-
"tsup": "^8.2.
|
|
128
|
-
"typescript": "^5.
|
|
132
|
+
"tsup": "^8.2.4",
|
|
133
|
+
"typescript": "^5.6.2",
|
|
129
134
|
"unbuild": "^2.0.0",
|
|
130
|
-
"vitest": "^2.0
|
|
131
|
-
"vue": "^3.4
|
|
135
|
+
"vitest": "^2.1.0",
|
|
136
|
+
"vue": "^3.5.4"
|
|
132
137
|
},
|
|
133
138
|
"pnpm": {
|
|
134
139
|
"peerDependencyRules": {
|
|
@@ -137,11 +142,17 @@
|
|
|
137
142
|
]
|
|
138
143
|
}
|
|
139
144
|
},
|
|
145
|
+
"resolutions": {
|
|
146
|
+
"@eslint-community/eslint-utils": "^4.4.0",
|
|
147
|
+
"@typescript-eslint/utils": "^8.3.0",
|
|
148
|
+
"eslint": "^9.9.1",
|
|
149
|
+
"tsx": "^4.18.0"
|
|
150
|
+
},
|
|
140
151
|
"simple-git-hooks": {
|
|
141
152
|
"pre-commit": "npx lint-staged"
|
|
142
153
|
},
|
|
143
154
|
"lint-staged": {
|
|
144
|
-
"*.{[jt]s?(x),vue,md}": "eslint --fix"
|
|
155
|
+
"*.{[jt]s?(x),vue,md}": "eslint --fix --flag unstable_ts_config"
|
|
145
156
|
},
|
|
146
157
|
"publishConfig": {
|
|
147
158
|
"registry": "https://registry.npmjs.org/"
|