refactor: use commitlint yml config file

This commit is contained in:
Jan De Dobbeleer 2020-10-19 08:54:59 +02:00 committed by Jan De Dobbeleer
parent 36b58abdf3
commit 48559f2d1e
3 changed files with 5 additions and 1 deletions

View file

@ -1 +0,0 @@
module.exports = { extends: ['@commitlint/config-conventional'] };

3
.commitlintrc.yml Normal file
View file

@ -0,0 +1,3 @@
---
extends:
- '@commitlint/config-conventional'

View file

@ -10,3 +10,5 @@ jobs:
with:
fetch-depth: 0
- uses: wagoid/commitlint-github-action@v2
with:
configFile: './.commitlintrc.yml'