Skip to content

Commit

Permalink
Merge pull request #247 from neuralinternet/feature/CSN-319-Test-pre-…
Browse files Browse the repository at this point in the history
…commit

feat: pre-commit whitespace removal and conventional commit checker (…
  • Loading branch information
mo0haned authored Jan 21, 2025
2 parents 0fe1a14 + db60c59 commit 6272056
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 6272056

Please sign in to comment.