UNPKG

@ui5/linter

Version:

A static code analysis tool for UI5

7 lines (6 loc) 601 B
import { AbstractAdapter } from "@ui5/fs"; import { LintResult, LinterOptions } from "./LinterContext.js"; import { UI5LintConfigType } from "../utils/ConfigManager.js"; import type SharedLanguageService from "./ui5Types/SharedLanguageService.js"; import { FSToVirtualPathOptions } from "../utils/virtualPathToFilePath.js"; export default function lintWorkspace(workspace: AbstractAdapter, filePathsWorkspace: AbstractAdapter, options: LinterOptions & FSToVirtualPathOptions, config: UI5LintConfigType, patternsMatch: Set<string>, sharedLanguageService: SharedLanguageService): Promise<LintResult[]>;