UNPKG

@sasjs/cli

Version:

Command line interface for SASjs

18 lines (17 loc) 713 B
interface LintResult { warnings: boolean; errors: boolean; } /** * Fixes lint violations in all .sas files in the current project if no filterArray is provided * Otherwise fixes lint violations of only those .sas files which matches filter array * @returns {Promise<void>} resolves successfully when formatting has completed */ export declare function lintFix(filterArray?: string[]): Promise<void>; /** * Lints all .sas files in the current project if no filterArray is provided * Otherwise lints .sas files which matches filter array * @returns an object containing booleans `warnings` and `errors` */ export declare function processLint(filterArray?: string[]): Promise<LintResult>; export {};