generated from SAP/repository-template
-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
autofixAn issue related to the autofix capabilitiesAn issue related to the autofix capabilities
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.
Metadata
Metadata
Assignees
Labels
autofixAn issue related to the autofix capabilitiesAn issue related to the autofix capabilities