UNPKG

@sasjs/lint

Version:

Linting and formatting for SAS code

8 lines (7 loc) 355 B
import { LintConfig } from '../types/LintConfig'; /** * Splits the given content into a list of lines, regardless of CRLF or LF line endings. * @param {string} text - the text content to be split into lines. * @returns {string[]} an array of lines from the given text */ export declare const splitText: (text: string, config: LintConfig) => string[];