Skip to content

Commit 1f91893

Browse files
author
Ray Schamp
committed
fix(react): Migrate jsx-space-before-closing to jsx-tag-spacing
Fix a deprecation warning and move our jsx-space-before-closing rule to jsx-tag-spacing instead (our preference is the default)
1 parent 491259c commit 1f91893

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

react.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ module.exports = {
5757
shorthandFirst: true,
5858
callbacksLast: true
5959
}],
60-
'react/jsx-space-before-closing': [2, 'always'],
60+
'react/jsx-tag-spacing': [2],
6161
'react/jsx-uses-react': [2],
6262
'react/jsx-uses-vars': [2],
6363
'react/jsx-wrap-multilines': [2]

0 commit comments

Comments
 (0)