diff --git a/.eslintrc.js b/.eslintrc.js index a84bbc8ad..b813ffa8d 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -34,6 +34,7 @@ module.exports = { "react/display-name": OFF, "react/prop-types": OFF, "react/no-unescaped-entities": OFF, + "react/jsx-curly-brace-presence": "warn", // jsx-ally "jsx-a11y/no-onchange": WARN, }, diff --git a/src/components/ApiFormState.tsx b/src/components/ApiFormState.tsx index 008a216e8..741e5d9b1 100644 --- a/src/components/ApiFormState.tsx +++ b/src/components/ApiFormState.tsx @@ -19,7 +19,7 @@ export default React.memo( -

+

Rules

diff --git a/src/components/ApiGallery.tsx b/src/components/ApiGallery.tsx index b7fe22a0b..2fe9f77dc 100644 --- a/src/components/ApiGallery.tsx +++ b/src/components/ApiGallery.tsx @@ -96,7 +96,7 @@ export default function ApiGallery({ defaultLang }) { A powerful custom hook to validate your form with minimal re-renders.

- + Read More ▸ @@ -112,7 +112,7 @@ export default function ApiGallery({ defaultLang }) {

Read More ▸ @@ -130,7 +130,7 @@ export default function ApiGallery({ defaultLang }) {

Read More ▸ @@ -145,7 +145,7 @@ export default function ApiGallery({ defaultLang }) { Subscribe to individual form input changes without impacting the root component's render.

- + Read More ▸ @@ -161,7 +161,7 @@ export default function ApiGallery({ defaultLang }) {

Read More ▸ @@ -178,7 +178,7 @@ export default function ApiGallery({ defaultLang }) {

Read More ▸ @@ -202,7 +202,7 @@ export default function ApiGallery({ defaultLang }) {