Skip to content

Commit

Permalink
fix: commitlint config
Browse files Browse the repository at this point in the history
  • Loading branch information
argoyle committed Apr 4, 2024
1 parent 56f593d commit fe9e3fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/commitlint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ jobs:
fetch-depth: 0
- uses: wagoid/commitlint-github-action@v6
with:
configFile: "commitlint.config.js"
configFile: "commitlint.config.mjs"
6 changes: 1 addition & 5 deletions commitlint.config.js → commitlint.config.mjs
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;

0 comments on commit fe9e3fc

Please sign in to comment.