Autofix does not migrate imports of pseudo modules
Open
@flovogt is already working on this.
Since Aug 10, 2026.
autofix
- Dominant language
- TypeScript
- Stars
- 79
- Forks
- 13
- Avg merge
- 19h 34m
- Merged PRs (30d)
- 9
Description
Following code:
sap.ui.define([
"sap/ui/core/BarColor",
], (BarColor) => {
"use strict";
return {
getMyColor: () => BarColor.POSITIVE
}
});
should be migrated by ui5lint --fix to
sap.ui.define([
"sap/ui/core/library",
], (coreLibrary) => {
"use strict";
return {
getMyColor: () => coreLibrary.BarColor.POSITIVE
}
});
Steps to Reproduce the Issue
Check out https://github.com/SAP/openui5-sample-app/blob/ui5lint-demo/webapp/controller/App.controller.js to see a complete example.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.