Skip to content

Commit

Permalink
feat: pre-commit whitespace removal and conventional commit checker (…
Browse files Browse the repository at this point in the history
…CSN-319, CSN-322)
  • Loading branch information
rocky2015aaa committed Jan 15, 2025
1 parent 383741f commit db60c59
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: trailing-whitespace
- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
rev: v9.20.0
hooks:
- id: commitlint
stages: [commit-msg]
additional_dependencies: ['@commitlint/config-angular']
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-conventional']}

0 comments on commit db60c59

Please sign in to comment.