style: suppress new eslint-plugin-react errors

This commit is contained in:
Christopher Willis-Ford 2023-12-15 17:45:38 -08:00
parent 95c2af9f15
commit 3fadd45f11

View file

@ -7,6 +7,10 @@ module.exports = {
browser: true
},
rules: {
// BEGIN: these caused trouble after upgrading eslint-plugin-react from 7.20.3 to 7.33.2
'react/forbid-prop-types': 'off',
'react/no-unknown-property': 'off',
// END: these caused trouble after upgrading eslint-plugin-react from 7.20.3 to 7.33.2
'import/no-mutable-exports': 'error',
'import/no-commonjs': 'error',
'import/no-amd': 'error',