From b4f745599bcf5953bdbac25faef5841642a3f771 Mon Sep 17 00:00:00 2001 From: Yasin Silavi Date: Mon, 23 Oct 2023 22:35:52 +0330 Subject: [PATCH] chore: add jsx-no-useless-fragment rule --- .eslintrc.js | 1 + 1 file changed, 1 insertion(+) diff --git a/.eslintrc.js b/.eslintrc.js index 73a86537bf..a43399e96c 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -90,6 +90,7 @@ module.exports = { 'react/jsx-filename-extension': ['error', { 'extensions': ['.jsx', '.tsx'] }], 'react/jsx-no-bind': ['error'], + 'react/jsx-no-useless-fragment': ['error'], 'react/jsx-no-constructed-context-values': ['error'], 'react/no-array-index-key': ['error'],