Hierarchy

Constructors

Properties

cacheFilePath: string = ''

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

cacheInfo: LintCacheInfo = ...

要缓存到 cacheFilePath 的信息

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

统计信息

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

Accessors

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

    Returns R

Methods

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

    Returns boolean

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

    Parameters

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

    Returns string[]

  • Returns string

  • Parameters

    • fileList: string[]

    Returns Promise<string[]>

  • Parameters

    • _fileList: string[]

    Returns Promise<Config>

  • Parameters

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

    Returns void