Skip to content

Commit 1c3117c

Browse files
committed
feat: rm some preset
1 parent 1d3c296 commit 1c3117c

5 files changed

+12
-732
lines changed

README.md

-6
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,6 @@ pnpm install --registry=https://registry.npmmirror.com
6060

6161
另外您必须修改 订阅详情 [./src/subscription.ts](./src/subscription.ts) 下的 id 字段, 否则可能会和其它订阅冲突, 填一个较大的随机数字即可
6262

63-
## 提交规范
64-
65-
我们使用 [commitlint](https://github.com/conventional-changelog/commitlint) 来校验提交信息
66-
67-
它要求提交的标题需要符合规范, 不符合规范的无法提交, 您可以查看它的文档规范你的提交
68-
6963
## 格式修复
7064

7165
我们使用 [prettier](https://github.com/prettier/prettier) 来格式化代码 和 [eslint](https://github.com/eslint/eslint) 来检测并修复代码错误

commitlint.config.ts

-8
This file was deleted.

eslint.config.mjs

+2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ export default tsEslint.config(
1212
plugins: {
1313
'unused-imports': unusedImports,
1414
},
15+
},
16+
{
1517
rules: {
1618
quotes: ['error', 'single', { allowTemplateLiterals: false }],
1719
'no-unused-vars': 'off',

package.json

+8-13
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
},
1212
"simple-git-hooks": {
1313
"pre-commit": "pnpm exec lint-staged",
14-
"commit-msg": "pnpm exec commitlint --config commitlint.config.ts --edit ${1}",
1514
"pre-push": "pnpm run check"
1615
},
1716
"lint-staged": {
@@ -31,32 +30,28 @@
3130
"./dist"
3231
],
3332
"dependencies": {
34-
"@commitlint/cli": "19.5.0",
35-
"@commitlint/config-conventional": "19.5.0",
36-
"@commitlint/types": "19.5.0",
37-
"@eslint/js": "9.11.1",
33+
"@eslint/js": "9.12.0",
3834
"@gkd-kit/api": "0.5.0",
3935
"@gkd-kit/define": "0.0.1",
4036
"@gkd-kit/tools": "0.5.2",
4137
"@types/eslint__js": "8.42.3",
42-
"@types/node": "22.7.4",
43-
"eslint": "9.11.1",
38+
"@types/node": "22.7.6",
39+
"eslint": "9.12.0",
4440
"eslint-config-prettier": "9.1.0",
4541
"eslint-plugin-unused-imports": "4.1.4",
4642
"json5": "2.2.3",
4743
"lint-staged": "15.2.10",
4844
"prettier": "3.3.3",
4945
"simple-git-hooks": "2.11.1",
5046
"tsx": "4.19.1",
51-
"typescript": "5.6.2",
52-
"typescript-eslint": "8.8.0"
47+
"typescript": "5.6.3",
48+
"typescript-eslint": "8.9.0"
5349
},
5450
"volta": {
55-
"node": "22.9.0",
56-
"pnpm": "9.12.0"
51+
"node": "22.10.0",
52+
"pnpm": "9.12.2"
5753
},
58-
"packageManager": "[email protected]",
59-
"engineStrict": true,
54+
"packageManager": "[email protected]",
6055
"engines": {
6156
"node": ">=22"
6257
}

0 commit comments

Comments
 (0)