Skip to content

Commit

Permalink
chore: tweak ESLint config so that jsx property is allowed
Browse files Browse the repository at this point in the history
  • Loading branch information
edoardo committed Nov 5, 2024
1 parent 55cb6d3 commit a83c96f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,7 @@ const { config } = require('@dhis2/cli-style')

module.exports = {
extends: [config.eslintReact],
rules: {
'react/no-unknown-property': ['error', { ignore: ['jsx', 'global'] }],
},
}

0 comments on commit a83c96f

Please sign in to comment.