UNPKG

eslint-merge-processors

Version:

Merge multiple ESLint processors to behave like one

15 lines (12 loc) 333 B
import { Linter } from 'eslint'; /** * Merge multiple processors into one * * @param processors */ declare function mergeProcessors(processors: Linter.Processor[]): Linter.Processor; /** * Pass-through the file itself */ declare const processorPassThrough: Linter.Processor; export { mergeProcessors, processorPassThrough };