ReadonlycategoryRule category for grouping.
ReadonlydescriptionRule description explaining what it checks.
ReadonlyidUnique rule identifier (scoped to plugin). Format: "plugin-name:rule-name" (e.g., "angular-standalone:component-not-standalone")
ReadonlynameHuman-readable rule name.
ReadonlyseverityRule severity level.
ReadonlytagsTags for filtering and search.
Analyze a source file and return findings.
Analysis context with file, project, and API access
Promise resolving to array of analysis results
Framework detection rule (
analyzer:framework-detector).Detects the workspace type from configuration files in the project root (the directory of the tsconfig, otherwise the directory of the analyzed file):
nx.jsonexists: framework isNxangular.jsonexists: framework isAngular CLIUnknownReports one
inforesult withframework,hasNxConfig,hasAngularConfigandprojectRootin its metadata.