UNPKG

just-scripts

Version:
24 lines 799 B
import { TaskFunction } from 'just-task'; /** * Task options generally follow ESLint CLI options explained here: * https://eslint.org/docs/user-guide/command-line-interface */ export interface EsLintTaskOptions { files?: string[]; configPath?: string; ignorePath?: string; resolvePluginsPath?: string; fix?: boolean; extensions?: string; noEslintRc?: boolean; maxWarnings?: number; cache?: boolean; cacheLocation?: string; /** * Upon lint completion, display a table of the 10 slowest rules * (see https://eslint.org/docs/developer-guide/working-with-rules-deprecated#per-rule-performance). */ timing?: boolean; } export declare function eslintTask(options?: EsLintTaskOptions): TaskFunction; //# sourceMappingURL=eslintTask.d.ts.map