Skip to content

Commit

Permalink
build(projects): update lint-staged config
Browse files Browse the repository at this point in the history
  • Loading branch information
honghuangdc committed Jan 11, 2023
1 parent a3562d9 commit 0882c25
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 79 deletions.
11 changes: 5 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@
"logo": "esno ./scripts/logo.ts",
"compress": "esno ./scripts/compress.ts",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
"release": "standard-version"
"release": "standard-version",
"prepare": "simple-git-hooks"
},
"dependencies": {
"@antv/data-set": "^0.11.8",
Expand Down Expand Up @@ -104,7 +105,7 @@
"eslint": "^8.31.0",
"eslint-config-soybeanjs-vue": "^0.2.2",
"esno": "^0.16.3",
"lint-staged": "^13.1.0",
"lint-staged": "12.5.0",
"mockjs": "^1.1.0",
"node-html-to-image": "^3.2.4",
"npm-check-updates": "^16.6.2",
Expand Down Expand Up @@ -135,11 +136,9 @@
},
"simple-git-hooks": {
"commit-msg": "pnpm soy git-commit-verify",
"pre-commit": "pnpm exec lint-staged --concurrent false"
"pre-commit": "pnpm typecheck && pnpm lint-staged"
},
"lint-staged": {
"*": [
"eslint . --fix"
]
"*": "eslint . --fix"
}
}
115 changes: 42 additions & 73 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 comment on commit 0882c25

@vercel
Copy link

@vercel vercel bot commented on 0882c25 Jan 11, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.