UNPKG

@sasjs/lint

Version:

Linting and formatting for SAS code

7 lines (6 loc) 338 B
/** * Analyses and produces a set of diagnostics for the given text content. * @param {string} text - the text content to be linted. * @returns {Diagnostic[]} array of diagnostic objects, each containing a warning, line number and column number. */ export declare const lintText: (text: string) => Promise<import("..").Diagnostic[]>;