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
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7
1 changed files with 8 additions and 0 deletions

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',
},
},
],
}; };