Skip to content

Commit 892dfb2

Browse files
committed
feat(git hooks): introduce husky
1 parent ec75fd8 commit 892dfb2

6 files changed

Lines changed: 898 additions & 107 deletions

File tree

.github/pull_request_template.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ If there is any impact on existing users (compatibility, degradation, breaking c
55

66
## Checklist
77

8-
- [ ] Executed `npm run lint`
98
- [ ] Modified relevant documentation
109
- [ ] Verified operation in local environment
1110
- [ ] Executed `npm run cdk:test` and if there are snapshot differences, execute `npm run cdk:test:update-snapshot` to update snapshots

.husky/pre-commit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
npx lint-staged

docs/en/DEVELOPMENT.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,8 @@ If executed successfully, it will start at http://localhost:5173, so please try
5454

5555
## When Submitting a Pull Request
5656

57-
We welcome Pull Requests for bug fixes and feature improvements. Before committing, please run the lint tool:
58-
59-
```bash
60-
npm run lint
61-
```
62-
63-
Also, if there are changes to the CDK, check the snapshots with the following command and update them:
57+
We welcome Pull Requests for bug fixes and feature improvements.
58+
If there are changes to the CDK, check the snapshots with the following command and update them:
6459

6560
```bash
6661
# Check differences

docs/ja/DEVELOPMENT.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,8 @@ npm run web:dev
5555

5656
## Pull Request を出す場合
5757

58-
バグ修正や機能改善などの Pull Request は歓迎しております。コミットする前に、lint ツールを実行してください。
59-
60-
```bash
61-
npm run lint
62-
```
63-
64-
また、CDK に変更があれば以下のコマンドでスナップショットの確認を行いスナップショットを更新してください。
58+
バグ修正や機能改善などの Pull Request は歓迎しております。
59+
もしCDK に変更があれば以下のコマンドでスナップショットの確認を行いスナップショットを更新してください。
6560

6661
```bash
6762
# 差分を確認

0 commit comments

Comments
 (0)