From 8d4151fc15029e694f8a01ab007bf58927191987 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Ooms?= Date: Wed, 2 Mar 2022 13:30:27 +0100 Subject: [PATCH] :wrench: config(xo): Explicit config for react/jsx-curly-brace-presence. See: - https://github.com/yannickcr/eslint-plugin-react/issues/3228 - https://github.com/yannickcr/eslint-plugin-react/commit/d8602acf4d17e317b34290fe7c95ae0212f4030f --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 74880285b..a501f9a49 100644 --- a/package.json +++ b/package.json @@ -220,6 +220,7 @@ "ignoreCase": false } ], + "react/jsx-curly-brace-presence": ["error", { "props": "never", "children": "never", "propElementValues": "always" }], "@typescript-eslint/naming-convention": "off", "@typescript-eslint/consistent-type-assertions": "off", "@typescript-eslint/no-unsafe-argument": "off",