We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
jsx-closing-bracket-location
1 parent 8459305 commit de46118Copy full SHA for de46118
index.js
@@ -40,7 +40,10 @@ module.exports = {
40
'react/style-prop-object': 'error',
41
'react/void-dom-elements-no-children': 'error',
42
'react/jsx-boolean-value': 'error',
43
- 'react/jsx-closing-bracket-location': ['error', 'tag-aligned'],
+ 'react/jsx-closing-bracket-location': ['error', {
44
+ nonEmpty: 'tag-aligned',
45
+ selfClosing: false
46
+ }],
47
'react/jsx-closing-tag-location': 'error',
48
'react/jsx-curly-spacing': ['error', 'never'],
49
'react/jsx-equals-spacing': ['error', 'never'],
0 commit comments