Skip to content
Snippets Groups Projects
Commit 42940aa6 authored by Jorge Pinna Puissant's avatar Jorge Pinna Puissant
Browse files

[FIX] web: add the globals


On 19e775b3 we added the same rules that
exists in test_lint on the tooling, but we didn't add the globals.

closes odoo/odoo#86649

Signed-off-by: default avatarAaron Bohy (aab) <aab@odoo.com>
parent 9c144ab4
Branches
Tags
No related merge requests found
......@@ -22,8 +22,21 @@
"no-unused-vars": ["error", { "vars": "all", "args": "none", "ignoreRestSiblings": false, "caughtErrors": "all", "caughtErrorsIgnorePattern": "^_" }]
},
"globals": {
"odoo": "writable",
"owl": "readonly",
"luxon": "readonly"
"odoo": "readonly",
"$": "readonly",
"jQuery": "readonly",
"_": "readonly",
"Chart": "readonly",
"fuzzy": "readonly",
"QWeb2": "readonly",
"Popover": "readonly",
"StackTrace": "readonly",
"QUnit": "readonly",
"luxon": "readonly",
"moment": "readonly",
"py": "readonly",
"ClipboardJS": "readonly",
"globalThis": "readonly"
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment