mirror of
https://github.com/scratchfoundation/eslint-config-scratch.git
synced 2025-08-28 22:40:13 -04:00
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)
This commit is contained in:
parent
491259c38b
commit
1f918935a0
1 changed files with 1 additions and 1 deletions
2
react.js
vendored
2
react.js
vendored
|
@ -57,7 +57,7 @@ module.exports = {
|
|||
shorthandFirst: true,
|
||||
callbacksLast: true
|
||||
}],
|
||||
'react/jsx-space-before-closing': [2, 'always'],
|
||||
'react/jsx-tag-spacing': [2],
|
||||
'react/jsx-uses-react': [2],
|
||||
'react/jsx-uses-vars': [2],
|
||||
'react/jsx-wrap-multilines': [2]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue