3 Star 0 Fork 2

Gitee 极速下载 / vuepress-next

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/vuepress/vuepress-next
克隆/下载
commitlint.config.ts 535 Bytes
一键复制 编辑 原始数据 按行查看 历史
meteorlxy 提交于 2024-04-12 00:04 . chore: add e2e to commitlint scope
import * as fs from 'node:fs'
import * as path from 'node:path'
import type { UserConfig } from '@commitlint/types'
const getSubDirectories = (dir: string): string[] =>
fs
.readdirSync(dir)
.filter((item) => fs.statSync(path.join(dir, item)).isDirectory())
const packages = getSubDirectories(path.resolve(__dirname, 'packages'))
export default {
extends: ['@commitlint/config-conventional'],
rules: {
'scope-enum': [2, 'always', [...packages, 'e2e']],
'footer-max-line-length': [0],
},
} satisfies UserConfig
TypeScript
1
https://gitee.com/mirrors/vuepress-next.git
git@gitee.com:mirrors/vuepress-next.git
mirrors
vuepress-next
vuepress-next
main

搜索帮助