Skip to content

Commit

Permalink
chore: add format script command
Browse files Browse the repository at this point in the history
  • Loading branch information
chouchouji committed Oct 29, 2024
1 parent 8b5b017 commit b47a34f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,8 @@ CHANGELOG.md
.github/**
.history/**

README.md
README.zh-CN.md

package.json
pnpm-lock.yaml
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"build": "tsup",
"release": "pnpm build && node bin/index.js release -c",
"lint": "eslint --ext .ts,.js",
"format": "prettier --write .",
"commit-lint": "node bin/index.js commit-lint"
},
"simple-git-hooks": {
Expand Down
2 changes: 1 addition & 1 deletion src/logger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ export default {
title(text: string) {
console.log(pico.cyan(text))
},
}
}

0 comments on commit b47a34f

Please sign in to comment.