mirror of
https://github.com/pengzhanbo/vuepress-theme-plume.git
synced 2026-04-23 10:58:13 +08:00
13 lines
309 B
JavaScript
13 lines
309 B
JavaScript
const fs = require('fs')
|
|
const path = require('path')
|
|
|
|
const packages = fs.readdirSync(path.resolve(__dirname, 'plugins'))
|
|
|
|
module.exports = {
|
|
extends: ['@commitlint/config-conventional'],
|
|
rules: {
|
|
'scope-enum': [2, 'always', ['docs', 'theme', ...packages]],
|
|
'footer-max-line-length': [0],
|
|
},
|
|
}
|