Skip to content

Commit

Permalink
Merge pull request #21 from opzkit/fix-commitlint-config
Browse files Browse the repository at this point in the history
fix: commitlint config
  • Loading branch information
argoyle authored Apr 5, 2024
2 parents 7555746 + 9e2ad68 commit 2ece4ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
const Configuration = {

export default {
extends: ['@commitlint/config-conventional'],

/*
* Any rules defined here will override rules from @commitlint/config-conventional
*/
rules: {
'body-max-line-length': [2, 'always', 200],
},
};

module.exports = Configuration;
2 changes: 1 addition & 1 deletion .github/workflows/commitlint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ jobs:
fetch-depth: 0
- uses: wagoid/commitlint-github-action@v6
with:
configFile: "./.github/commitlint.config.js"
configFile: "./.github/commitlint.config.mjs"

0 comments on commit 2ece4ae

Please sign in to comment.