Skip to content

Commit

Permalink
build(dependencies): import commit lint (#2)
Browse files Browse the repository at this point in the history
* build(dependencies): import commit lint

* fix(tsc): fix tsconfig options keys error

* docs(readme): add commit guideline explain
  • Loading branch information
DesnLee authored Jun 27, 2022
1 parent d60e182 commit 70df8db
Show file tree
Hide file tree
Showing 6 changed files with 1,198 additions and 15 deletions.
4 changes: 4 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx --no -- commitlint --edit "${1}"
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,18 @@ Core functionalities:

### Development

#### Guidelines

Commit message follows [@commitlint/config-angular](https://github.com/conventional-changelog/commitlint/tree/master/@commitlint/config-angular)

#### Created in the following version:
- pnpm v7.3.0
- Vite v2.9.9
- Vue v3.2
- Pinia v2
- Typescript v4.6

#### Font Awesome Icon
#### Font Awesome Icon
This project is using [Font Awesome](https://fontawesome.com/icons/check?s=regular) icons and this is [Documentation](https://fontawesome.com/docs/web/style/size)

#### Start
Expand Down
1 change: 1 addition & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = {extends: ['@commitlint/config-angular']};
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,13 @@
"vue-router": "^4.0.16"
},
"devDependencies": {
"@commitlint/cli": "^17.0.3",
"@commitlint/config-angular": "^17.0.3",
"@commitlint/config-conventional": "^17.0.3",
"@types/node": "^18.0.0",
"@vitejs/plugin-vue": "^2.3.3",
"consola": "^2.15.3",
"husky": "^8.0.1",
"sass": "^1.53.0",
"typescript": "^4.7.4",
"vite": "^2.9.9",
Expand Down
Loading

0 comments on commit 70df8db

Please sign in to comment.