[IMP] web: add the new test_lint eslint rules to the tooling

closes odoo/odoo#105433

Related: odoo/enterprise#33802
Signed-off-by: Xavier Morel (xmo) <xmo@odoo.com>
This commit is contained in:
Jorge Pinna Puissant
2022-11-09 16:08:07 +01:00
parent 4f24e34b39
commit 9fd3ddbce9
+4 -1
View File
@@ -16,10 +16,13 @@
"no-const-assign": ["error"],
"no-debugger": ["error"],
"no-dupe-class-members": ["error"],
"no-dupe-keys": ["error"],
"no-dupe-args": ["error"],
"no-dupe-else-if": ["error"],
"no-unsafe-negation": ["error"],
"no-duplicate-imports": ["error"],
"valid-typeof": ["error"],
"no-unused-vars": ["error", { "vars": "all", "args": "none", "ignoreRestSiblings": false, "caughtErrors": "all", "caughtErrorsIgnorePattern": "^_" }],
"no-unused-vars": ["error", { "vars": "all", "args": "none", "ignoreRestSiblings": false, "caughtErrors": "all" }],
"curly": ["error", "all"],
"prefer-const": ["error", {
"destructuring": "all",