Find ambiguous event handlers in UI5 XML views

Proprietary

Marks the tags of XML views and fragments with an event handler that is neither prefixed by a dot, as a controller method is, nor a name imported with core:require. UI5 1.x resolves press="onSave" against the controller and then the global namespace; UI5 2.x does not. Only events of OpenUI5 controls are known here. PrefixControllerEventHandlers fixes the handlers the controller has. See Handling Events in XML Views.

io.moderne.javascript.ui5.NoAmbiguousEventHandler
mod run . --recipe=io.moderne.javascript.ui5.NoAmbiguousEventHandler

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.