UNPKG

@ui5/linter

Version:

A static code analysis tool for UI5

13 lines (12 loc) 524 B
import ts from "typescript"; import type SourceFileReporter from "./SourceFileReporter.js"; import LinterContext from "../LinterContext.js"; export default function analyzeComponentJson({ classDeclaration, manifestContent, resourcePath, reporter, context, checker, isUiComponent, }: { classDeclaration: ts.ClassDeclaration; manifestContent: string | undefined; resourcePath: string; reporter: SourceFileReporter; context: LinterContext; checker: ts.TypeChecker; isUiComponent: boolean; }): void;