mirror of
https://github.com/youzan/vant.git
synced 2025-10-19 10:07:07 +00:00
feat(cli): allow style type commit message
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
import { readFileSync } from 'fs-extra';
|
import { readFileSync } from 'fs-extra';
|
||||||
import { consola } from '../common/logger';
|
import { consola } from '../common/logger';
|
||||||
|
|
||||||
const commitRE = /^(revert: )?(fix|feat|docs|perf|test|types|build|chore|refactor|breaking change)(\(.+\))?: .{1,50}/;
|
const commitRE = /^(revert: )?(fix|feat|docs|perf|test|types|style|build|chore|refactor|breaking change)(\(.+\))?: .{1,50}/;
|
||||||
const mergeRE = /Merge branch /;
|
const mergeRE = /Merge branch /;
|
||||||
|
|
||||||
export function commitLint() {
|
export function commitLint() {
|
||||||
|
Reference in New Issue
Block a user