Hierarchy

Constructors

Properties

cacheFilePath: string = ''

检测缓存文件的路径。不应提交至 git 仓库

cacheInfo: LintCacheInfo<{
    md5: string;
    specMd5: string;
    updateTime: number;
}> = ...

要缓存到 cacheFilePath 的信息

isCheckAll: boolean = false
logger: NLogger
stats: LintResult = ...

统计信息

tag:
    | "eslint"
    | "tscheck"
    | "jest"
    | "jira"
    | "prettier"
whiteList: WhiteListInfo<number> = ...

Accessors

  • get statsInfo(): R
  • 返回执行结果统计信息

    Returns R

Methods

  • start 之前调用。返回 true 才会继续执行

    Returns Promise<boolean>

  • 通用文件过滤,基于 include、exclude 和 extensions

    Parameters

    • fileList: string | string[]
    • isFilterByExt: boolean = true
    • cacheFilter: boolean = true

    Returns string[]

  • Returns string

  • Parameters

    • specFileList: string[]

    Returns Argv

  • Parameters

    • specFileList: string[]

    Returns Promise<string[]>

  • Parameters

    • filepath: string
    • info: unknown
    • isReset: boolean = false

    Returns void