fix-control-renderer
Installation
SKILL.md
Fix Control Renderer Issues
This skill fixes Control renderer issues that the UI5 linter detects but cannot auto-fix because they require understanding of the control's rendering behavior and module dependencies.
Linter Rules Handled
| Rule ID | Message Pattern | This Skill's Action |
|---|---|---|
no-deprecated-control-renderer-declaration |
Control '...' is missing a renderer declaration | Add renderer: null or import renderer |
no-deprecated-control-renderer-declaration |
Deprecated declaration of renderer '...' for control '...' | Import renderer module and assign directly |
no-deprecated-api |
Use of deprecated renderer detected. Define explicitly the {apiVersion: 2} | Add apiVersion: 2 to renderer object |
no-deprecated-api |
"sap/ui/core/IconPool" module must be imported when using RenderManager's icon() method | Add IconPool import |
no-deprecated-api |
Override of deprecated method 'rerender' in control '...' | Remove override, move code to lifecycle hooks |
ui5-class-declaration |
The control renderer must be a static property | Make renderer property static |