Skip to content

Commit

Permalink
ci: enable commitlint
Browse files Browse the repository at this point in the history
  • Loading branch information
codeout committed Sep 27, 2021
1 parent 415670d commit 8e292ba
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
repos:
- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
rev: v5.0.0
hooks:
- id: commitlint
stages: [commit-msg]
additional_dependencies: ['@commitlint/config-conventional']
5 changes: 5 additions & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module.exports = {
extends: ["@commitlint/config-conventional"],
rules: {
},
};

0 comments on commit 8e292ba

Please sign in to comment.