@ui5/linter
Version:
A static code analysis tool for UI5
8 lines • 379 B
JavaScript
import transpileHtml from "./transpiler.js";
export default async function lintHtml({ filePathsWorkspace, context }) {
const htmlResources = await filePathsWorkspace.byGlob("**/*.html");
await Promise.all(htmlResources.map(async (resource) => {
return transpileHtml(resource.getPath(), resource.getStream(), context);
}));
}
//# sourceMappingURL=linter.js.map