mirror of
https://github.com/facebook/docusaurus.git
synced 2025-04-29 02:08:36 +02:00
chore: enable react/jsx-closing-bracket-location (#6373)
This no longer appears to conflict with prettier
This commit is contained in:
parent
14bec7cf11
commit
6e75d035bb
3 changed files with 0 additions and 3 deletions
|
@ -75,7 +75,6 @@ module.exports = {
|
|||
'no-param-reassign': [WARNING, {props: false}],
|
||||
'no-underscore-dangle': OFF,
|
||||
curly: [WARNING, 'all'],
|
||||
'react/jsx-closing-bracket-location': OFF, // Conflicts with Prettier.
|
||||
'react/jsx-filename-extension': OFF,
|
||||
'react/jsx-one-expression-per-line': OFF,
|
||||
'react/no-array-index-key': OFF, // Sometimes its ok, e.g. non-changing data.
|
||||
|
|
|
@ -52,7 +52,6 @@ module.exports = {
|
|||
' ',
|
||||
],
|
||||
],
|
||||
'react/jsx-closing-bracket-location': OFF, // Conflicts with Prettier.
|
||||
'react/jsx-filename-extension': OFF,
|
||||
'react-hooks/rules-of-hooks': ERROR,
|
||||
'react/prop-types': OFF, // PropTypes aren't used much these days.
|
||||
|
|
|
@ -52,7 +52,6 @@ module.exports = {
|
|||
' ',
|
||||
],
|
||||
],
|
||||
'react/jsx-closing-bracket-location': OFF, // Conflicts with Prettier.
|
||||
'react/jsx-filename-extension': OFF,
|
||||
'react-hooks/rules-of-hooks': ERROR,
|
||||
'react/prop-types': OFF, // PropTypes aren't used much these days.
|
||||
|
|
Loading…
Add table
Reference in a new issue