UNPKG

@afuteam-nx/plugin-exec-eslint

Version:

对代码仓库执行代码质量检查,支持批量项目。 输出结果包含仓库的 `eslint错误数` `空行数` `代码行数` `注释行数` `复杂度统计(不包含switchcase类型)`

6 lines (5 loc) 331 B
export interface RunExecutorSchema { "localFileReposWithAFULintTypePath": string, // 项目清单 带着 AFULintType 可以通过 @afuteam-nx/plugin-add-eslint-type 插件获得 "localAllReposCodePath": string, // 本地的要执行 eslint 源代码路径 "resultPath": string, // 结果输出路径 } // eslint-disable-line