Skip to content

Commit

Permalink
DEV-17298 Disable 'react/jsx-no-leaked-render' because it's not type-…
Browse files Browse the repository at this point in the history
…aware.
  • Loading branch information
mmeij committed Mar 30, 2023
1 parent e0ef5c1 commit 80b409f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions rules/react.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,7 @@ module.exports = {
'react/jsx-max-depth': 'off', // @TODO
'react/jsx-no-bind': 'off', // @TODO
'react/jsx-no-constructed-context-values': 'off', // @TODO
'react/jsx-no-leaked-render': [
'warn',
{ validStrategies: ['ternary', 'coerce'] },
], // @AUTOFIX
'react/jsx-no-leaked-render': 'off', // @AUTOFIX
'react/jsx-no-literals': 'off', // @TODO
'react/jsx-no-script-url': 'off', // @TODO
'react/jsx-no-useless-fragment': ['warn', { allowExpressions: true }], // @AUTOFIX
Expand Down

0 comments on commit 80b409f

Please sign in to comment.