From cc1c401ea545ec605e5df67225dba933758d2596 Mon Sep 17 00:00:00 2001 From: Jens Scheffler <95105677+jscheffl@users.noreply.github.com> Date: Fri, 3 Jan 2025 17:52:57 +0100 Subject: [PATCH] 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 b1cfde09c14f6..fe4432d3fbde6 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.