[IMP] test_lint: add no-dupe-class-members rule
closes odoo/odoo#77719 X-original-commit: 591a94f6278abf51b114fd43870874c6ea8364ab Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
This commit is contained in:
@@ -36,14 +36,6 @@ odoo.define('point_of_sale.tour.PaymentScreenTourMethods', function (require) {
|
||||
];
|
||||
}
|
||||
|
||||
clickTipButton() {
|
||||
return [
|
||||
{
|
||||
trigger: `.payment-buttons .js_tip`,
|
||||
},
|
||||
];
|
||||
}
|
||||
|
||||
clickInvoiceButton() {
|
||||
return [{ content: 'click invoice button', trigger: '.payment-buttons .js_invoice' }];
|
||||
}
|
||||
|
||||
@@ -13,7 +13,8 @@ RULES = ('{'
|
||||
'"no-undef": "error",'
|
||||
'"no-restricted-globals": ["error", "event", "self"],'
|
||||
'"no-const-assign": ["error"],'
|
||||
'"no-debugger": ["error"]'
|
||||
'"no-debugger": ["error"],'
|
||||
'"no-dupe-class-members": ["error"]'
|
||||
'}'
|
||||
)
|
||||
PARSER_OPTIONS = '{ecmaVersion: 2019, sourceType: module}'
|
||||
|
||||
Reference in New Issue
Block a user