review-edit-auto
Version:
scan your project, only review edited code in given time-range automatic
33 lines (32 loc) • 783 B
TypeScript
export declare const TABLE_HEAD: string[];
export declare const INFO_COLOR = "#c0ffb3";
export declare const WARNING_BG_COLOR = "#f75f00";
export declare const WARNING_COLOR = "#f7e8f6";
export declare const SEVERITY: {
low: string;
error: string;
};
/**
* 默认扫描扩展
*/
export declare const EXTENSIONS = "**/*.?(js|ts|jsx|tsx)";
/**
* 默认忽略文件夹
*/
export declare const DEFAULT_IGNORE_PATTERNS: string[];
/**
* ignore文件名
*/
export declare const IGNORE_FILE_NAME = ".gitignore";
/**
* 提取函数类型正则
*/
export declare const REG_FUNC_TYPE: RegExp;
/**
* eslint提示前缀
*/
export declare const MESSAGE_PREFIX = "Maximum allowed is 1.";
/**
* eslint提示后缀
*/
export declare const MESSAGE_SUFFIX = "has a complexity of ";