for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
import template from './sw-promotion-v2-wizard-shipping-discount-trigger.html.twig';
const { Component } = Shopware;
Shopware
/** global: Shopware */
This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.
To learn more about declaring variables in Javascript, see the MDN.
Component.extend('sw-promotion-v2-wizard-shipping-discount-trigger', 'sw-wizard-page', {
template,
data() {
return {
modalTitle: this.$tc('sw-promotion-v2.detail.shipping-discount-trigger.modalTitle')
};
}
});
This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.
To learn more about declaring variables in Javascript, see the MDN.