{"ref":"content:migrate-your-code-with-ui5-linter-autofix-has-landed","page":"/content/migrate-your-code-with-ui5-linter-autofix-has-landed","json":"/content/migrate-your-code-with-ui5-linter-autofix-has-landed.json","generated":"2026-11-15","drafted_with_ai":true,"entity":{"id":"migrate-your-code-with-ui5-linter-autofix-has-landed","title":"Migrate your code with UI5 linter – Autofix has landed","url":"https://community.sap.com/t5/technology-blog-posts-by-sap/migrate-your-code-with-ui5-linter-autofix-has-landed/ba-p/14048470","content_type":"blog","published_on":"source:sap-community","explains":[{"ref":"capability:linting","applies_to":{"ecosystems":["ui5"]}}],"summary":"UI5 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.","short":"Autofix in UI5 linter v1.12.0 with ui5lint --fix","authors":["actor:flovogt"],"published":"2025-03-19","provenance":{"discovered_via":[{"source":"source:sap-community","channel":"business-application-studio-tag"},{"source":"source:sap-community","channel":"fiori-tag"},{"source":"source:sap-community","channel":"sapui5-tag"}],"first_seen":"2026-09-19"},"drafted_with_ai":true,"history":[{"date":"2026-10-17","field":"explains","from":null,"to":"applies_to on capability:linting (ui5)","reason":"Door scope proposed from the title and summary, so a door page lists the piece only where it holds (docs/concepts/content-on-doors.md)."}]},"readings":{"liveness":[{"label":"Checked against the source","tier":"unknown","evidence":"nobody has checked it"},{"label":"Source reachable","tier":"unknown","evidence":"not crawled"},{"label":"Age","tier":"fair","evidence":"published 20 months ago"}],"compatibility":[{"label":"Version","tier":"unknown","evidence":"no version declared"},{"label":"Moved since?","tier":"good","evidence":"no recorded change after 2025-03-19"},{"label":"Findings","tier":"good","evidence":"none flagged"}],"reach":[{"value":5452,"unit":"views"},{"value":9,"unit":"comments"},{"value":15,"unit":"likes"}]},"signals":{"views":5452,"likes":15,"comments":9,"metrics_at":"2026-11-01"},"series":null,"edges":{"authors":[{"ref":"actor:flovogt","name":"Florian Vogt","json":"/actors/flovogt.json"}]}}