Skip to content

Commit 5c8627a

Browse files
committed
ci: rename commitlint config to CommonJS to prevent commitlint module load error
1 parent c68d3ac commit 5c8627a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

commitlint.config.js renamed to commitlint.config.cjs

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const config = {
1+
module.exports = {
22
extends: ['@commitlint/config-conventional'],
33
plugins: [
44
{
@@ -36,5 +36,3 @@ const config = {
3636
'function-rules/header-max-length': [2, 'always'],
3737
},
3838
};
39-
40-
export default config;

0 commit comments

Comments
 (0)