eslint: don't enforce PropTypes in tsx files

This commit is contained in:
Alex Gleason
2022-03-07 12:43:40 -06:00
parent e7ed56127f
commit 5c8e1c9277

View File

@ -254,4 +254,12 @@ module.exports = {
'react-hooks/rules-of-hooks': 'error', 'react-hooks/rules-of-hooks': 'error',
'react-hooks/exhaustive-deps': 'warn', 'react-hooks/exhaustive-deps': 'warn',
}, },
overrides: [
{
files: ['**/*.tsx'],
'rules': {
'react/prop-types': 'off',
},
},
],
}; };