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
Analysis rule
angular:static-class-detection: reports classes with only public static members (methods and readonly properties) that can become module-level functions and constants.Skips
.d.tsfiles and classes with Angular decorators,extends,abstract, constructor logic, instance members, mutable static properties, private or protected members, or member names that are not valid identifiers. The same criteria are used by StaticClassTransformRule.