Release of UI5 linter v1.0
The v1.0 announcement for @ui5/linter@ui5/linterSAP's static analysis tool for UI5 projects: it scans JavaScript, TypeScript, XML, JSON and other files for deprecated APIs, global variables and possible CSP violations, and fixes part of them with --fix.sap official, ui5, SAP's static analysis tool for UI5 projects: it details what the release detects (deprecated UI5 libraries and framework APIs, global variables, possible CSP violations, deprecated component and manifest configuration), which files it scans by default, and its named restrictions, among them that dynamic lookups like getView().byId() defeat detection and that private or undocumented framework APIs go unreported. It gives the install command, the Node.js versions required, and a sample CLI report showing a deprecated attachTap call and a deprecated OData model type flagged with file and line. A March 2025 follow-up, Migrate your code with UI5 linter – Autofix has landedMigrate your code with UI5 linter – Autofix has landedUI5 linter v1.12.0 adds an initial autofix, reached with ui5lint --fix, and the post walks through it end to end: the tool first reports a deprecated global reference (sap.ui.model.json.JSONModel), then the fix rewrites it into the equivalent module import and local variable. This first version only handles that one class of deprecation — replacing deprecated globals with imports — with more fix types left for later releases tracked on the tool's GitHub roadmap.published 2025-03-19, covers the autofix capability added after this release.
Where it sits
Who is behind it
Properties
About this work
Details
Graph
Source
History
- Entered the atlasDiscovered via SAP Community · business-application-studio-tag.
For your agent
- Ref
content:release-of-ui5-linter-v1-0- JSON
- /content/release-of-ui5-linter-v1-0.json
- MCP
- Connecting an agent