This is an automated email from the ASF dual-hosted git repository.

jscheffl pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new cc1c401ea54 Adjust JSX element depth from 5 to 7 (#45380)
cc1c401ea54 is described below

commit cc1c401ea545ec605e5df67225dba933758d2596
Author: Jens Scheffler <[email protected]>
AuthorDate: Fri Jan 3 17:52:57 2025 +0100

    Adjust JSX element depth from 5 to 7 (#45380)
---
 airflow/ui/rules/react.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/airflow/ui/rules/react.js b/airflow/ui/rules/react.js
index b1cfde09c14..fe4432d3fbd 100644
--- a/airflow/ui/rules/react.js
+++ b/airflow/ui/rules/react.js
@@ -458,11 +458,11 @@ export const reactRules = /** @type {const} @satisfies 
{FlatConfig.Config} */ ({
     [`${reactNamespace}/jsx-key`]: ERROR,
 
     /**
-     * Enforce JSX maximum depth to 5.
+     * Enforce JSX maximum depth to 7.
      *
      * @see 
[react/jsx-max-depth](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/jsx-max-depth.md)
      */
-    [`${reactNamespace}/jsx-max-depth`]: [ERROR, { max: 5 }],
+    [`${reactNamespace}/jsx-max-depth`]: [ERROR, { max: 7 }],
 
     /**
      * Disallow comments from being inserted as text nodes.

Reply via email to