generated from SAP/repository-template
-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
detectionAn issue related to detection capabilitiesAn issue related to detection capabilities
Description
Expected Behavior
Detect that renderer uses apiVersion 2.
Current Behavior
Linter reports "13:5: Use of deprecated renderer detected. Define explicitly the {apiVersion: 2} parameter in the renderer object"
Steps to Reproduce the Issue
Snippet:
sap.ui.define(['sap/ui/unified/library', "sap/ui/thirdparty/jquery", "sap/ui/unified/FileUploaderHelper"], function(library, jQuery, FileUploaderHelper) {
...
var FileUploaderRenderer = {};
FileUploaderRenderer.apiVersion = 2;
...
FileUploaderRenderer.render = function(oRm, oFileUploader) {
...
};
return FileUploaderRenderer;
});
Context
- UI5 linter version: 1.12.0
Metadata
Metadata
Assignees
Labels
detectionAn issue related to detection capabilitiesAn issue related to detection capabilities