@ui5/linter
Version:
A static code analysis tool for UI5
25 lines (24 loc) • 700 B
TypeScript
import type { SAPJSONSchemaForWebApplicationManifestFile } from "../../manifest.d.ts";
import { ResourcePath } from "../LinterContext.js";
import LinterContext from "../LinterContext.js";
interface locType {
line: number;
column: number;
pos: number;
}
export type jsonMapPointers = Record<string, {
key: locType;
keyEnd: locType;
value: locType;
valueEnd: locType;
}>;
export interface jsonSourceMapType {
data: SAPJSONSchemaForWebApplicationManifestFile;
pointers: jsonMapPointers;
}
export default class ManifestLinter {
#private;
constructor(resourcePath: ResourcePath, content: string, context: LinterContext);
lint(): Promise<void>;
}
export {};