eslint-plugin-aura
eslint-plugin-aura copied to clipboard
no-deprecate-event-creation incorrectly flags e.force:showToast
As per Salesforce documentation, and functionality the below is valid
const toastEvent = $A.get("e.force:showToast");
https://developer.salesforce.com/docs/component-library/bundle/force:showToast/documentation