From 715509fdbdfe3cc9d9e2dabc7a8587bc55b0ddb0 Mon Sep 17 00:00:00 2001
From: Bastien DUMONT <bdumont@grandlyon.com>
Date: Tue, 15 Oct 2024 15:58:53 +0200
Subject: [PATCH] apply missing rule

---
 .eslintrc.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.eslintrc.js b/.eslintrc.js
index 2cbc020ed..7195bf9c0 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -78,6 +78,7 @@ module.exports = {
         '@eslint-react/dom/no-dangerously-set-innerhtml': 0, // used for for injecting html tags
         '@eslint-react/no-array-index-key': 0,
         '@eslint-react/no-unused-class-component-members': 0, // disabled for ".d.ts" files
+        '@eslint-react/no-leaked-conditional-rendering': 'error', // important ! avoids rendering 0
       },
     },
     {
-- 
GitLab