Skip to content

Commit

Permalink
fix: disable jsx indentation rule (#928)
Browse files Browse the repository at this point in the history
Co-authored-by: Nikolay Petrov <nikolay_petrov@gaijin.team>
  • Loading branch information
Clickrouc and nikolay-petrov-gj authored Dec 2, 2024
1 parent 4dfda0c commit 2464f2d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions configs/react.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'}],
Expand Down

0 comments on commit 2464f2d

Please sign in to comment.