@sasjs/lint
Version:
Linting and formatting for SAS code
9 lines (8 loc) • 414 B
TypeScript
import { LintConfig } from '../types';
/**
* A function to check if file/folder path matches any pattern from .gitignore or ignoreList (.sasjsLint)
*
* @param {string} fPath - absolute path of file or folder
* @returns {Promise<boolean>} true if path matches the patterns from .gitignore file otherwise false
*/
export declare const isIgnored: (fPath: string, configuration?: LintConfig) => Promise<boolean>;