@lincy/eslint-config 4.1.1 → 4.2.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 +26 -20
- package/dist/index.cjs +963 -857
- package/dist/index.d.cts +175 -29
- package/dist/index.d.ts +175 -29
- package/dist/index.js +970 -868
- package/package.json +24 -17
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lincy/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "4.
|
|
4
|
+
"version": "4.2.1",
|
|
5
5
|
"packageManager": "pnpm@8.7.6",
|
|
6
6
|
"description": "LinCenYing's ESLint config",
|
|
7
7
|
"author": "LinCenYing <lincenying@gmail.com> (https://github.com/lincenying/)",
|
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
"scripts": {
|
|
27
27
|
"build": "tsup src/index.ts --format esm,cjs --shims --clean --dts",
|
|
28
28
|
"stub": "tsup src/index.ts --format esm",
|
|
29
|
+
"watch": "tsup --format esm,cjs --watch",
|
|
29
30
|
"postpublish": "simple-open-url https://npmmirror.com/package/@lincy/eslint-config",
|
|
30
31
|
"prepublishOnly": "nr build",
|
|
31
32
|
"release": "bumpp && npm publish -r --access public",
|
|
@@ -38,6 +39,7 @@
|
|
|
38
39
|
"peerDependencies": {
|
|
39
40
|
"@unocss/eslint-plugin": ">=0.50.0",
|
|
40
41
|
"eslint": ">=8.40.0",
|
|
42
|
+
"eslint-plugin-format": ">=0.1.0",
|
|
41
43
|
"eslint-plugin-react": "^7.33.2",
|
|
42
44
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
43
45
|
"eslint-plugin-react-refresh": "^0.4.4"
|
|
@@ -46,6 +48,9 @@
|
|
|
46
48
|
"@unocss/eslint-plugin": {
|
|
47
49
|
"optional": true
|
|
48
50
|
},
|
|
51
|
+
"eslint-plugin-format": {
|
|
52
|
+
"optional": true
|
|
53
|
+
},
|
|
49
54
|
"eslint-plugin-react": {
|
|
50
55
|
"optional": true
|
|
51
56
|
},
|
|
@@ -58,12 +63,12 @@
|
|
|
58
63
|
},
|
|
59
64
|
"dependencies": {
|
|
60
65
|
"@antfu/eslint-define-config": "1.23.0-2",
|
|
61
|
-
"@antfu/install-pkg": "^0.3.
|
|
62
|
-
"@stylistic/eslint-plugin": "1.
|
|
63
|
-
"@typescript-eslint/eslint-plugin": "^6.
|
|
64
|
-
"@typescript-eslint/parser": "^6.
|
|
65
|
-
"eslint-config-flat-gitignore": "^0.1.
|
|
66
|
-
"eslint-plugin-antfu": "^
|
|
66
|
+
"@antfu/install-pkg": "^0.3.1",
|
|
67
|
+
"@stylistic/eslint-plugin": "1.5.0-beta.0",
|
|
68
|
+
"@typescript-eslint/eslint-plugin": "^6.13.2",
|
|
69
|
+
"@typescript-eslint/parser": "^6.13.2",
|
|
70
|
+
"eslint-config-flat-gitignore": "^0.1.2",
|
|
71
|
+
"eslint-plugin-antfu": "^2.0.0",
|
|
67
72
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
68
73
|
"eslint-plugin-i": "^2.29.0",
|
|
69
74
|
"eslint-plugin-jsdoc": "^46.9.0",
|
|
@@ -71,11 +76,11 @@
|
|
|
71
76
|
"eslint-plugin-markdown": "^3.0.1",
|
|
72
77
|
"eslint-plugin-n": "^16.3.1",
|
|
73
78
|
"eslint-plugin-no-only-tests": "^3.1.0",
|
|
74
|
-
"eslint-plugin-perfectionist": "^2.
|
|
79
|
+
"eslint-plugin-perfectionist": "^2.5.0",
|
|
75
80
|
"eslint-plugin-unicorn": "^49.0.0",
|
|
76
81
|
"eslint-plugin-unused-imports": "^3.0.0",
|
|
77
82
|
"eslint-plugin-vitest": "^0.3.10",
|
|
78
|
-
"eslint-plugin-vue": "^9.
|
|
83
|
+
"eslint-plugin-vue": "^9.19.2",
|
|
79
84
|
"eslint-plugin-yml": "^1.10.0",
|
|
80
85
|
"globals": "^13.23.0",
|
|
81
86
|
"jsonc-eslint-parser": "^2.4.0",
|
|
@@ -85,24 +90,26 @@
|
|
|
85
90
|
"yaml-eslint-parser": "^1.2.2"
|
|
86
91
|
},
|
|
87
92
|
"devDependencies": {
|
|
88
|
-
"@antfu/ni": "^0.21.
|
|
93
|
+
"@antfu/ni": "^0.21.12",
|
|
89
94
|
"@eslint-types/jsdoc": "46.9.0",
|
|
90
95
|
"@eslint-types/typescript-eslint": "^6.12.0",
|
|
91
96
|
"@eslint-types/unicorn": "^49.0.0",
|
|
92
97
|
"@lincy/eslint-config": "workspace:*",
|
|
93
98
|
"@stylistic/eslint-plugin-migrate": "^1.4.1",
|
|
94
|
-
"@types/eslint": "^8.44.
|
|
95
|
-
"@types/node": "^20.10.
|
|
99
|
+
"@types/eslint": "^8.44.8",
|
|
100
|
+
"@types/node": "^20.10.3",
|
|
96
101
|
"@types/prompts": "^2.4.9",
|
|
97
|
-
"@unocss/eslint-plugin": "^0.
|
|
102
|
+
"@unocss/eslint-plugin": "^0.58.0",
|
|
98
103
|
"bumpp": "^9.2.0",
|
|
99
|
-
"eslint": "^8.
|
|
104
|
+
"eslint": "^8.55.0",
|
|
100
105
|
"eslint-flat-config-viewer": "^0.1.3",
|
|
106
|
+
"eslint-plugin-format": "^0.1.0",
|
|
101
107
|
"eslint-plugin-react": "^7.33.2",
|
|
102
108
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
103
|
-
"eslint-plugin-react-refresh": "^0.4.
|
|
109
|
+
"eslint-plugin-react-refresh": "^0.4.5",
|
|
104
110
|
"esno": "^4.0.0",
|
|
105
|
-
"lint-staged": "^15.
|
|
111
|
+
"lint-staged": "^15.2.0",
|
|
112
|
+
"prettier": "^3.1.0",
|
|
106
113
|
"rimraf": "^5.0.5",
|
|
107
114
|
"simple-git-hooks": "^2.9.0",
|
|
108
115
|
"simple-open-url": "^3.0.1",
|
|
@@ -110,7 +117,7 @@
|
|
|
110
117
|
"tsup": "^8.0.1",
|
|
111
118
|
"typescript": "^5.3.2",
|
|
112
119
|
"unbuild": "^2.0.0",
|
|
113
|
-
"vitest": "^0.
|
|
120
|
+
"vitest": "^1.0.1"
|
|
114
121
|
},
|
|
115
122
|
"pnpm": {
|
|
116
123
|
"peerDependencyRules": {
|