From 2a784b7c8848864dfa3a229f1aa63c6a78f2f6c4 Mon Sep 17 00:00:00 2001 From: "Lucas Perais (lpe)" Date: Tue, 7 Sep 2021 06:23:02 +0000 Subject: [PATCH] [IMP] web: tooling: whitelist web_dashboard and web_cohort Enable tooling (eslint, prettier) for new converted modules web_dashboard and web_cohort Part-of: odoo/odoo#73311 --- addons/web/tooling/_eslintignore | 18 ++++++++++++++++++ addons/web/tooling/_prettierignore | 18 ++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/addons/web/tooling/_eslintignore b/addons/web/tooling/_eslintignore index 9b3e5f456a3..a147fb3ffe6 100644 --- a/addons/web/tooling/_eslintignore +++ b/addons/web/tooling/_eslintignore @@ -37,3 +37,21 @@ web_studio/static/src/legacy/**/* addons/web/static/tests/**/legacy/* web_enterprise/static/tests/**/legacy/* web_studio/static/tests/**/legacy/* + +# web_dashboard +# whitelist new code +!web_dashboard +!web_dashboard/**/* + +# blacklist legacy +web_dashboard/static/src/legacy/**/* +web_dashboard/static/tests/legacy/**/* + +# web_cohort +# whitelist new code +!web_cohort +!web_cohort/**/* + +# blacklist legacy +web_cohort/static/src/legacy/**/* +web_cohort/static/tests/legacy/**/* diff --git a/addons/web/tooling/_prettierignore b/addons/web/tooling/_prettierignore index 9b3e5f456a3..a147fb3ffe6 100644 --- a/addons/web/tooling/_prettierignore +++ b/addons/web/tooling/_prettierignore @@ -37,3 +37,21 @@ web_studio/static/src/legacy/**/* addons/web/static/tests/**/legacy/* web_enterprise/static/tests/**/legacy/* web_studio/static/tests/**/legacy/* + +# web_dashboard +# whitelist new code +!web_dashboard +!web_dashboard/**/* + +# blacklist legacy +web_dashboard/static/src/legacy/**/* +web_dashboard/static/tests/legacy/**/* + +# web_cohort +# whitelist new code +!web_cohort +!web_cohort/**/* + +# blacklist legacy +web_cohort/static/src/legacy/**/* +web_cohort/static/tests/legacy/**/*