Skip to content

Commit

Permalink
fix: allow .cjs/.mjs for commitlintrc
Browse files Browse the repository at this point in the history
  • Loading branch information
AVVS committed May 9, 2023
1 parent c1d1542 commit 6f68cff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/setup-semantic-release.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ async function main() {
}

await copyConfiguration('.releaserc.json', ['.releaserc.js']);
await copyConfiguration('.commitlintrc.js');
await copyConfiguration('.commitlintrc.js', ['.commitlintrc.cjs, .commitlintrc.json, .commitlintrc.mjs']);

if (!(await hasDir('.husky/_'))) {
console.log('⚠️ husky not initialized yet');
Expand Down

0 comments on commit 6f68cff

Please sign in to comment.