Skip to content

Commit

Permalink
feat: allow floating promises for JSX attributes (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
mfeltscher authored Dec 11, 2023
1 parent ed38563 commit 9d9f0f8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .eslintrc.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ module.exports = {
'react/prop-types': 'off',
'react/display-name': 'off',
'react/forbid-component-props': ['warn', { forbid: ['style', 'className'] }],
'@typescript-eslint/no-misused-promises': [
'error',
{
checksVoidReturn: {
attributes: false,
},
},
],
},
parserOptions: {
ecmaFeatures: {
Expand Down

0 comments on commit 9d9f0f8

Please sign in to comment.