Update .eslintrc.js (#5609)

This commit is contained in:
Dimitri POSTOLOV 2023-01-20 11:11:16 +01:00 committed by GitHub
parent 880624c9dc
commit a0edb75bdd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -113,8 +113,6 @@ module.exports = {
],
}],
'filenames/match-exported': [ERROR, 'kebab'],
'react/no-find-dom-node': OFF(UNKNOWN),
'react/no-unescaped-entities': OFF(TYPESCRIPT_CONVERSION),
'react/jsx-first-prop-new-line': [ERROR, 'multiline'],
@ -128,7 +126,6 @@ module.exports = {
'namedComponents': 'arrow-function',
'unnamedComponents': 'arrow-function',
}],
'react/jsx-max-props-per-line': [ERROR, { 'maximum': 1, 'when': 'multiline' }],
'react/jsx-closing-bracket-location': [ERROR, 'line-aligned'],
'react/prefer-stateless-function': ERROR,
'react/jsx-key': [ERROR, { 'checkFragmentShorthand': true }],