[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:
Simon Genin (ges)
2021-10-04 14:12:42 +00:00
parent e34ca20bc3
commit e3cf794cc1
2 changed files with 2 additions and 9 deletions
@@ -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' }];
}
+2 -1
View File
@@ -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}'