mirror of
https://github.com/semaphore-protocol/semaphore.git
synced 2026-01-10 07:08:17 -05:00
22 lines
577 B
JavaScript
22 lines
577 B
JavaScript
const fs = require("node:fs")
|
|
const path = require("node:path")
|
|
|
|
const packages = fs.readdirSync(path.resolve(__dirname, "packages"))
|
|
const apps = fs.readdirSync(path.resolve(__dirname, "apps"))
|
|
|
|
module.exports = {
|
|
extends: ["@commitlint/config-conventional"],
|
|
prompt: {
|
|
scopes: [...packages, ...apps],
|
|
markBreakingChangeMode: true,
|
|
allowCustomIssuePrefix: false,
|
|
allowEmptyIssuePrefix: false,
|
|
issuePrefixes: [
|
|
{
|
|
value: "re",
|
|
name: "re: ISSUES related"
|
|
}
|
|
]
|
|
}
|
|
}
|