Skip to content

Commit

Permalink
chore: migrate commitlint config to MJS for wagoid/commitlint-gha
Browse files Browse the repository at this point in the history
  • Loading branch information
cwillisf committed Jan 16, 2025
1 parent 5773ddf commit eb6f0b1
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
4 changes: 0 additions & 4 deletions commitlint.config.js

This file was deleted.

10 changes: 10 additions & 0 deletions commitlint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// Do not rename, migrate, or convert this file without checking the `wagoid/commitlint-github-action` documentation!
// `commitlint.config.mjs` is the only supported config file name as of `wagoid/commitlint-github-action@v6`

/**
* @type {import('@commitlint/types').UserConfig}
*/
export default {
extends: ['@commitlint/config-conventional'],
ignores: [message => message.startsWith('chore(release):')]
};
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"@babel/eslint-parser": "7.26.5",
"@commitlint/cli": "19.6.1",
"@commitlint/config-conventional": "19.6.0",
"@commitlint/types": "19.5.0",
"eslint": "8.57.1",
"husky": "8.0.3",
"scratch-semantic-release-config": "3.0.0",
Expand Down

0 comments on commit eb6f0b1

Please sign in to comment.