Skip to content

Commit 2464f2d

Browse files
fix: disable jsx indentation rule (#928)
Co-authored-by: Nikolay Petrov <[email protected]>
1 parent 4dfda0c commit 2464f2d

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

configs/react.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -169,10 +169,7 @@ const reactConfig = [
169169
'react/jsx-wrap-multilines': 'off',
170170
'react/jsx-child-element-spacing': 'off',
171171

172-
'@stylistic/jsx-indent': ['error', 'tab', {
173-
indentLogicalExpressions: true,
174-
checkAttributes: false,
175-
}],
172+
'@stylistic/jsx-indent': 'off',
176173
'@stylistic/jsx-closing-bracket-location': ['error', 'after-props'],
177174
'@stylistic/jsx-closing-tag-location': 'error',
178175
'@stylistic/jsx-curly-brace-presence': ['error', {propElementValues: 'always'}],

0 commit comments

Comments
 (0)