As you can see - your code check always states this “UI5 definition statement” as a bug. But this is none. We need to exclude this check. But we want to keep on using the rule - because the rule itself makes sense. So we ask you to please exclude sap.ui.define per regex (or whatever) out of this rule.
Welcome to the Sonar community, and thank you for your feedback!
We can indeed add sap to the list of global defaults. I created this ticket to address this as soon as possible. In the meantime, you can indeed use the sonar.javascript.globals property as suggested by Colin.