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:any-to-interface.Detects
any-typed parameters and class properties that are accessed by property name, indicating a named shape that can be replaced with a generated TypeScript interface.Detection scope:
Parameternodes typed asanywhose identifier is accessed via dot notation inside the containing function/method body.PropertyDeclarationnodes typed asanywhose name is accessed viathis.<prop>.<member>inside the containing class body.Skipped:
any[]: ArrayType parent nodes are ignored..d.tsdeclaration files.Example