@lincy/eslint-config 5.5.1 → 5.6.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 +8 -0
- package/dist/index.cjs +2062 -2537
- package/dist/index.d.cts +9004 -9383
- package/dist/index.d.ts +9004 -9383
- package/dist/index.js +1977 -2436
- package/package.json +77 -81
package/package.json
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lincy/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "5.
|
|
5
|
-
"packageManager": "pnpm@10.6.5",
|
|
4
|
+
"version": "5.6.0",
|
|
6
5
|
"description": "LinCenYing's ESLint config",
|
|
7
6
|
"author": "LinCenYing <lincenying@gmail.com> (https://github.com/lincenying/)",
|
|
8
7
|
"license": "MIT",
|
|
@@ -22,20 +21,6 @@
|
|
|
22
21
|
"files": [
|
|
23
22
|
"dist"
|
|
24
23
|
],
|
|
25
|
-
"scripts": {
|
|
26
|
-
"build": "nr typegen && tsup --format esm,cjs --clean --dts",
|
|
27
|
-
"stub": "tsup src/index.ts --format esm",
|
|
28
|
-
"watch": "tsup --format esm,cjs --watch",
|
|
29
|
-
"postpublish": "simple-open-url https://npmmirror.com/package/@lincy/eslint-config",
|
|
30
|
-
"prepublishOnly": "nr build",
|
|
31
|
-
"release": "bumpp && npm publish -r --access public",
|
|
32
|
-
"test": "vitest",
|
|
33
|
-
"typegen": "tsx scripts/typegen.ts",
|
|
34
|
-
"lint": "pnpm run stub && eslint .",
|
|
35
|
-
"lint:fix": "eslint . --fix",
|
|
36
|
-
"lint:ts": "tsc --noEmit",
|
|
37
|
-
"prepare": "npx simple-git-hooks"
|
|
38
|
-
},
|
|
39
24
|
"peerDependencies": {
|
|
40
25
|
"@eslint-react/eslint-plugin": "^1.15.0",
|
|
41
26
|
"@prettier/plugin-xml": "^3.4.1",
|
|
@@ -66,72 +51,72 @@
|
|
|
66
51
|
}
|
|
67
52
|
},
|
|
68
53
|
"dependencies": {
|
|
69
|
-
"@antfu/install-pkg": "
|
|
70
|
-
"@clack/prompts": "
|
|
71
|
-
"@eslint-community/eslint-plugin-eslint-comments": "
|
|
72
|
-
"@eslint/markdown": "
|
|
73
|
-
"@stylistic/eslint-plugin": "
|
|
74
|
-
"@typescript-eslint/eslint-plugin": "
|
|
75
|
-
"@typescript-eslint/parser": "
|
|
76
|
-
"@vitest/eslint-plugin": "
|
|
77
|
-
"eslint-config-flat-gitignore": "
|
|
78
|
-
"eslint-flat-config-utils": "
|
|
79
|
-
"eslint-merge-processors": "
|
|
80
|
-
"eslint-parser-plain": "
|
|
81
|
-
"eslint-plugin-antfu": "
|
|
82
|
-
"eslint-plugin-import-x": "
|
|
83
|
-
"eslint-plugin-jsdoc": "
|
|
84
|
-
"eslint-plugin-jsonc": "
|
|
85
|
-
"eslint-plugin-n": "
|
|
86
|
-
"eslint-plugin-no-only-tests": "
|
|
87
|
-
"eslint-plugin-perfectionist": "
|
|
88
|
-
"eslint-plugin-pnpm": "
|
|
89
|
-
"eslint-plugin-regexp": "
|
|
90
|
-
"eslint-plugin-toml": "
|
|
91
|
-
"eslint-plugin-unicorn": "
|
|
92
|
-
"eslint-plugin-unused-imports": "
|
|
93
|
-
"eslint-plugin-vue": "
|
|
94
|
-
"eslint-plugin-yml": "
|
|
95
|
-
"eslint-processor-vue-blocks": "
|
|
96
|
-
"globals": "
|
|
97
|
-
"jsonc-eslint-parser": "
|
|
98
|
-
"local-pkg": "
|
|
99
|
-
"prompts": "
|
|
100
|
-
"toml-eslint-parser": "
|
|
101
|
-
"vue-eslint-parser": "
|
|
102
|
-
"yaml-eslint-parser": "
|
|
54
|
+
"@antfu/install-pkg": "^1.1.0",
|
|
55
|
+
"@clack/prompts": "^0.10.1",
|
|
56
|
+
"@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
|
|
57
|
+
"@eslint/markdown": "^6.4.0",
|
|
58
|
+
"@stylistic/eslint-plugin": "^4.2.0",
|
|
59
|
+
"@typescript-eslint/eslint-plugin": "^8.32.1",
|
|
60
|
+
"@typescript-eslint/parser": "^8.32.1",
|
|
61
|
+
"@vitest/eslint-plugin": "^1.2.0",
|
|
62
|
+
"eslint-config-flat-gitignore": "^2.1.0",
|
|
63
|
+
"eslint-flat-config-utils": "^2.1.0",
|
|
64
|
+
"eslint-merge-processors": "^2.0.0",
|
|
65
|
+
"eslint-parser-plain": "^0.1.1",
|
|
66
|
+
"eslint-plugin-antfu": "^3.1.1",
|
|
67
|
+
"eslint-plugin-import-x": "^4.12.2",
|
|
68
|
+
"eslint-plugin-jsdoc": "^50.6.17",
|
|
69
|
+
"eslint-plugin-jsonc": "^2.20.1",
|
|
70
|
+
"eslint-plugin-n": "^17.18.0",
|
|
71
|
+
"eslint-plugin-no-only-tests": "^3.3.0",
|
|
72
|
+
"eslint-plugin-perfectionist": "^4.13.0",
|
|
73
|
+
"eslint-plugin-pnpm": "^0.3.1",
|
|
74
|
+
"eslint-plugin-regexp": "^2.7.0",
|
|
75
|
+
"eslint-plugin-toml": "^0.12.0",
|
|
76
|
+
"eslint-plugin-unicorn": "^59.0.1",
|
|
77
|
+
"eslint-plugin-unused-imports": "^4.1.4",
|
|
78
|
+
"eslint-plugin-vue": "^10.1.0",
|
|
79
|
+
"eslint-plugin-yml": "^1.18.0",
|
|
80
|
+
"eslint-processor-vue-blocks": "^2.0.0",
|
|
81
|
+
"globals": "^16.1.0",
|
|
82
|
+
"jsonc-eslint-parser": "^2.4.0",
|
|
83
|
+
"local-pkg": "^1.1.1",
|
|
84
|
+
"prompts": "^2.4.2",
|
|
85
|
+
"toml-eslint-parser": "^0.10.0",
|
|
86
|
+
"vue-eslint-parser": "^10.1.3",
|
|
87
|
+
"yaml-eslint-parser": "^1.3.0"
|
|
103
88
|
},
|
|
104
89
|
"devDependencies": {
|
|
105
|
-
"@antfu/ni": "
|
|
106
|
-
"@eslint-react/eslint-plugin": "
|
|
107
|
-
"@eslint-types/
|
|
108
|
-
"@eslint-types/
|
|
109
|
-
"@eslint-
|
|
110
|
-
"@
|
|
111
|
-
"@
|
|
112
|
-
"@
|
|
113
|
-
"@
|
|
114
|
-
"@
|
|
115
|
-
"
|
|
116
|
-
"
|
|
117
|
-
"
|
|
118
|
-
"eslint": "
|
|
119
|
-
"eslint-plugin-
|
|
120
|
-
"eslint-
|
|
121
|
-
"
|
|
122
|
-
"
|
|
123
|
-
"
|
|
124
|
-
"
|
|
125
|
-
"
|
|
126
|
-
"
|
|
127
|
-
"simple-
|
|
128
|
-
"
|
|
129
|
-
"
|
|
130
|
-
"
|
|
131
|
-
"
|
|
132
|
-
"
|
|
133
|
-
"
|
|
134
|
-
"
|
|
90
|
+
"@antfu/ni": "^24.4.0",
|
|
91
|
+
"@eslint-react/eslint-plugin": "^1.49.0",
|
|
92
|
+
"@eslint-types/typescript-eslint": "^7.5.0",
|
|
93
|
+
"@eslint-types/unicorn": "^52.0.0",
|
|
94
|
+
"@eslint/config-inspector": "^1.0.2",
|
|
95
|
+
"@prettier/plugin-xml": "^3.4.1",
|
|
96
|
+
"@stylistic/eslint-plugin-migrate": "^4.2.0",
|
|
97
|
+
"@types/node": "^22.15.21",
|
|
98
|
+
"@types/react": "^19.1.4",
|
|
99
|
+
"@unocss/eslint-plugin": "^66.1.2",
|
|
100
|
+
"bumpp": "^10.1.1",
|
|
101
|
+
"eslint": "^9.27.0",
|
|
102
|
+
"eslint-plugin-format": "^1.0.1",
|
|
103
|
+
"eslint-plugin-react-hooks": "^5.2.0",
|
|
104
|
+
"eslint-plugin-react-refresh": "^0.4.20",
|
|
105
|
+
"eslint-typegen": "^2.2.0",
|
|
106
|
+
"esno": "^4.8.0",
|
|
107
|
+
"execa": "^9.5.3",
|
|
108
|
+
"lint-staged": "^16.0.0",
|
|
109
|
+
"prettier": "^3.5.3",
|
|
110
|
+
"react": "^19.1.0",
|
|
111
|
+
"simple-git-hooks": "^2.13.0",
|
|
112
|
+
"simple-open-url": "^3.0.1",
|
|
113
|
+
"sucrase": "^3.35.0",
|
|
114
|
+
"tinyglobby": "^0.2.13",
|
|
115
|
+
"tsdown": "^0.11.13",
|
|
116
|
+
"typescript": "^5.8.3",
|
|
117
|
+
"vitest": "^3.1.4",
|
|
118
|
+
"vue": "^3.5.14",
|
|
119
|
+
"@lincy/eslint-config": "5.6.0"
|
|
135
120
|
},
|
|
136
121
|
"simple-git-hooks": {
|
|
137
122
|
"pre-commit": "npx lint-staged"
|
|
@@ -141,5 +126,16 @@
|
|
|
141
126
|
},
|
|
142
127
|
"publishConfig": {
|
|
143
128
|
"registry": "https://registry.npmjs.org/"
|
|
129
|
+
},
|
|
130
|
+
"scripts": {
|
|
131
|
+
"build": "nr typegen && tsdown --format esm,cjs --clean --dts",
|
|
132
|
+
"stub": "tsdown src/index.ts --format esm",
|
|
133
|
+
"watch": "tsdown --format esm,cjs --watch",
|
|
134
|
+
"release": "bumpp && pnpm publish -r --access public",
|
|
135
|
+
"test": "vitest",
|
|
136
|
+
"typegen": "tsx scripts/typegen.ts",
|
|
137
|
+
"lint": "pnpm run stub && eslint .",
|
|
138
|
+
"lint:fix": "eslint . --fix",
|
|
139
|
+
"lint:ts": "tsc --noEmit"
|
|
144
140
|
}
|
|
145
|
-
}
|
|
141
|
+
}
|