From 2464f2db6b5c02da0a879c9cbc8977fcf47ab0bd Mon Sep 17 00:00:00 2001 From: Nikolay Petrov Date: Tue, 3 Dec 2024 00:54:36 +0500 Subject: [PATCH] fix: disable jsx indentation rule (#928) Co-authored-by: Nikolay Petrov --- configs/react.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/configs/react.js b/configs/react.js index b040a85..a41b45c 100644 --- a/configs/react.js +++ b/configs/react.js @@ -169,10 +169,7 @@ const reactConfig = [ 'react/jsx-wrap-multilines': 'off', 'react/jsx-child-element-spacing': 'off', - '@stylistic/jsx-indent': ['error', 'tab', { - indentLogicalExpressions: true, - checkAttributes: false, - }], + '@stylistic/jsx-indent': 'off', '@stylistic/jsx-closing-bracket-location': ['error', 'after-props'], '@stylistic/jsx-closing-tag-location': 'error', '@stylistic/jsx-curly-brace-presence': ['error', {propElementValues: 'always'}],