Skip to content

Commit

Permalink
Merge pull request #66 from opzkit/fix-commitlint-config
Browse files Browse the repository at this point in the history
chore: update commitlint config to use .mjs file extension
  • Loading branch information
argoyle authored Jun 18, 2024
2 parents c3d4798 + b4e67fa commit 4f6055c
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 7 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"
1 change: 0 additions & 1 deletion template-repo/template/.github/commitlint.config.js

This file was deleted.

1 change: 1 addition & 0 deletions template-repo/template/.github/commitlint.config.mjs

0 comments on commit 4f6055c

Please sign in to comment.