This public repository is no longer maintained and has been archived. You can find information about open source at SAP and active projects at https://opensource.sap.com/ and in our main GitHub organization at https://github.com/SAP. For the latest sample code repositories, visit the organization https://github.com/SAP-samples. If you have inquiries about the status of this repository, please contact ospo@sap.com.
UI5con 2026 Bengaluru Hands-on Workshop: Modernizing Legacy UI5 Applications with UI5 Linter
This repository contains the demo project for the UI5 linter Hands-On at UI5con 2026. It is a variant of the OpenUI5 Todo sample application available at github.com/UI5/sample-app.
Start here: hands-on-lectures/00-overview.md
The workshop is divided into the following sections:
- Introduction & Setup (5 min)
- Running UI5 Linter - First Analysis (10 min)
- Understanding Linter Rules (5 min)
- Hands-on: Auto-fixing Issues (10 min)
- Hands-on: Manual Fixes (15 min)
- Best Practices & Wrap-up (optional/informational)
Reference: Appendix - Legacy Patterns
Important
This project intentionally contains legacy code patterns for educational purposes. Attendees will identify and fix these issues step-by-step during the workshop using the UI5 linter.
Do not use this code as a reference for best practices! The legacy patterns include:
- Deprecated APIs (
jQuery.sap.*,sap.ui.controller(), etc.) - Global variable access
- Deprecated themes and libraries
- CSP-violating inline scripts
- Legacy test setup
Checkout github.com/UI5/sample-app for the original version of this application, following best practices and using modern API.
The modernized version of this application (with all linter issues resolved) is available on the final-result branch.
