Skip to content

Commit

Permalink
feat: rm some preset
Browse files Browse the repository at this point in the history
  • Loading branch information
lisonge committed Oct 17, 2024
1 parent 1d3c296 commit 1c3117c
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 732 deletions.
6 changes: 0 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,6 @@ pnpm install --registry=https://registry.npmmirror.com

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

## 提交规范

我们使用 [commitlint](https://github.com/conventional-changelog/commitlint) 来校验提交信息

它要求提交的标题需要符合规范, 不符合规范的无法提交, 您可以查看它的文档规范你的提交

## 格式修复

我们使用 [prettier](https://github.com/prettier/prettier) 来格式化代码 和 [eslint](https://github.com/eslint/eslint) 来检测并修复代码错误
Expand Down
8 changes: 0 additions & 8 deletions commitlint.config.ts

This file was deleted.

2 changes: 2 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ export default tsEslint.config(
plugins: {
'unused-imports': unusedImports,
},
},
{
rules: {
quotes: ['error', 'single', { allowTemplateLiterals: false }],
'no-unused-vars': 'off',
Expand Down
21 changes: 8 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
},
"simple-git-hooks": {
"pre-commit": "pnpm exec lint-staged",
"commit-msg": "pnpm exec commitlint --config commitlint.config.ts --edit ${1}",
"pre-push": "pnpm run check"
},
"lint-staged": {
Expand All @@ -31,32 +30,28 @@
"./dist"
],
"dependencies": {
"@commitlint/cli": "19.5.0",
"@commitlint/config-conventional": "19.5.0",
"@commitlint/types": "19.5.0",
"@eslint/js": "9.11.1",
"@eslint/js": "9.12.0",
"@gkd-kit/api": "0.5.0",
"@gkd-kit/define": "0.0.1",
"@gkd-kit/tools": "0.5.2",
"@types/eslint__js": "8.42.3",
"@types/node": "22.7.4",
"eslint": "9.11.1",
"@types/node": "22.7.6",
"eslint": "9.12.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-unused-imports": "4.1.4",
"json5": "2.2.3",
"lint-staged": "15.2.10",
"prettier": "3.3.3",
"simple-git-hooks": "2.11.1",
"tsx": "4.19.1",
"typescript": "5.6.2",
"typescript-eslint": "8.8.0"
"typescript": "5.6.3",
"typescript-eslint": "8.9.0"
},
"volta": {
"node": "22.9.0",
"pnpm": "9.12.0"
"node": "22.10.0",
"pnpm": "9.12.2"
},
"packageManager": "[email protected]",
"engineStrict": true,
"packageManager": "[email protected]",
"engines": {
"node": ">=22"
}
Expand Down
Loading

0 comments on commit 1c3117c

Please sign in to comment.