Skip to content

Commit

Permalink
feat(dx): become a commitizen
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbbreuer committed Apr 28, 2022
1 parent d37e147 commit ef15c7f
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions commitlint.config.cjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
const fs = require('fs');
const path = require('path');
const fs = require('fs')
const path = require('path')

const composables = fs.readdirSync(path.resolve(__dirname, 'src/composables'));
const composables = fs.readdirSync(path.resolve(__dirname, 'src/composables'))

composables.map(composable => composable.replace('.ts'))

module.exports = {
extends: ['@commitlint/config-conventional'],
Expand All @@ -12,4 +14,4 @@ module.exports = {
['', 'docs', 'example', 'release', 'dx', ...composables],
],
},
};
}

0 comments on commit ef15c7f

Please sign in to comment.