Skip to content

Commit 0ad5850

Browse files
jschefflHariGS-DB
authored andcommitted
Adjust JSX element depth from 5 to 7 (apache#45380)
1 parent deecbec commit 0ad5850

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

airflow/ui/rules/react.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -458,11 +458,11 @@ export const reactRules = /** @type {const} @satisfies {FlatConfig.Config} */ ({
458458
[`${reactNamespace}/jsx-key`]: ERROR,
459459

460460
/**
461-
* Enforce JSX maximum depth to 5.
461+
* Enforce JSX maximum depth to 7.
462462
*
463463
* @see [react/jsx-max-depth](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/jsx-max-depth.md)
464464
*/
465-
[`${reactNamespace}/jsx-max-depth`]: [ERROR, { max: 5 }],
465+
[`${reactNamespace}/jsx-max-depth`]: [ERROR, { max: 7 }],
466466

467467
/**
468468
* Disallow comments from being inserted as text nodes.

0 commit comments

Comments
 (0)