eslint: don't enforce PropTypes in tsx files
This commit is contained in:
parent
e7ed56127f
commit
5c8e1c9277
|
@ -254,4 +254,12 @@ module.exports = {
|
|||
'react-hooks/rules-of-hooks': 'error',
|
||||
'react-hooks/exhaustive-deps': 'warn',
|
||||
},
|
||||
overrides: [
|
||||
{
|
||||
files: ['**/*.tsx'],
|
||||
'rules': {
|
||||
'react/prop-types': 'off',
|
||||
},
|
||||
},
|
||||
],
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue