UNPKG

eslint-plugin-yaml

Version:
34 lines (33 loc) 963 B
import type { Linter } from "eslint"; declare function preprocess(text: string, fileName: string): Linter.ProcessorFile[]; declare function postprocess(_messages: Linter.LintMessage[][], fileName: string): Linter.LintMessage[]; declare const plugin: { meta: { name: string; version: string; type: string; docs: { description: string; category: string; recommended: boolean; url: string; }; fixable: string; schema: never[]; }; processors: { [x: string]: { meta: { name: string; version: string; }; preprocess: typeof preprocess; postprocess: typeof postprocess; }; }; configs: { recommended: Linter.FlatConfig<Linter.RulesRecord>; legacy: Linter.Config<Linter.RulesRecord, Linter.RulesRecord>; }; }; export default plugin;