From afa9376ec06f538f842797479c096b07091a393a Mon Sep 17 00:00:00 2001
From: "Simon Genin (ges)" <ges@odoo.com>
Date: Wed, 30 Nov 2022 12:17:03 +0000
Subject: [PATCH] [FIX] dx: port back js tooling gitignore properties

The tooling has been introduce in later version of odoo.
It is a problem when somebody switches to older branches without
disabling the tooling as it would then try to commit the tooling config
files.

We just add a few lines in the gitignore to prevent this issue.

closes odoo/odoo#106945

X-original-commit: b469295c884026caea1b7779e7ffb778e7a08ab3
Related: odoo/enterprise#34551
Signed-off-by: Jorge Pinna Puissant (jpp) <jpp@odoo.com>
---
 .gitignore | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/.gitignore b/.gitignore
index 021964d773ac..a14f254b877f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -32,8 +32,11 @@ setup/win32/static/postgresql*.exe
 
 # js tooling
 node_modules
+jsconfig.json
+tsconfig.json
 package-lock.json
 package.json
+.husky
 
 # various virtualenv
 /bin/
@@ -44,6 +47,3 @@ package.json
 /man/
 /share/
 /src/
-
-# avoid adding it after generation from tsconfig command
-tsconfig.json
-- 
GitLab