Skip to content

Commit

Permalink
feat: add react rule for no leaked rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
SimeonC committed Jul 23, 2024
1 parent 67bc329 commit d6c9555
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/eslint-config/src/rules/react.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export const reactRules: Linter.RulesRecord = {
warnOnDuplicates: true,
},
],

'react/jsx-no-leaked-render': ['error', { validStrategies: ['ternary'] }],
'@tablecheck/consistent-react-import': 'error',
'react-refresh/only-export-components': [
'warn',
Expand Down

0 comments on commit d6c9555

Please sign in to comment.