55} from "./constants" ;
66import { UserConfig } from "@commitlint/types" ;
77import { enumerateValues } from "./utils/enum" ;
8+ import { plugins } from "commitlint-plugin-wizardoc-rules" ;
89
910export const config : UserConfig = {
1011 parserPreset : {
@@ -13,19 +14,18 @@ export const config: UserConfig = {
1314 parserOpts : {
1415 headerPattern : CONVERSION_MATCH_REGEX ,
1516 headerCorrespondence : [
17+ LexicalElement . SYMBOL ,
1618 LexicalElement . TYPE ,
1719 LexicalElement . SCOPE ,
1820 LexicalElement . SUBJECT ,
1921 ] ,
2022 } ,
2123 } ,
24+ ...plugins ,
2225 rules : {
23- // 'subject-exclamation-mark' : [2, 'never' ],
26+ "break-change-prefix" : [ 2 , "always" ] ,
2427 "footer-leading-blank" : [ 1 , "always" ] ,
2528 "header-max-length" : [ 2 , "always" , 72 ] ,
26- // 'scope-case': [2, 'always', 'lower-case'],
27- "subject-case" : [ 2 , "never" , [ "upper-case" ] as any ] ,
28- // 'subject-empty': [2, 'never'],
2929 "subject-full-stop" : [ 2 , "never" , "." ] ,
3030 "type-empty" : [ 2 , "never" ] ,
3131 "scope-empty" : [ 1 , "never" ] ,
0 commit comments