@modyqyw/fabric
Version:
Opinionated shareable specifications for git-based JavaScript/TypeScript projects.
26 lines (22 loc) • 575 B
TypeScript
import { UserConfig } from '@commitlint/types';
type Config = UserConfig;
interface Options {
/**
* Monorepo support.
*
* Option true: auto detect.
*
* Option false: no monorepo.
*
* @default true
*/
monorepo?: "lerna" | "nx" | "pnpm-workspace" | "rush" | boolean;
/**
* Commit style.
*
* @default "conventional"
*/
style?: "angular" | "conventional";
}
declare function commitlint(options?: Options, userConfig?: Config): Config;
export { type Config as C, type Options as O, commitlint as c };