eslint: stop screaming about proptypes

This commit is contained in:
Alex Gleason 2022-04-18 19:00:04 -05:00
parent c523e95789
commit fb351f8dfd
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -150,7 +150,6 @@ module.exports = {
'react/jsx-wrap-multilines': 'error', 'react/jsx-wrap-multilines': 'error',
'react/no-multi-comp': 'off', 'react/no-multi-comp': 'off',
'react/no-string-refs': 'error', 'react/no-string-refs': 'error',
'react/prop-types': 'error',
'react/self-closing-comp': 'error', 'react/self-closing-comp': 'error',
'jsx-a11y/accessible-emoji': 'warn', 'jsx-a11y/accessible-emoji': 'warn',
@ -264,7 +263,6 @@ module.exports = {
files: ['**/*.ts', '**/*.tsx'], files: ['**/*.ts', '**/*.tsx'],
rules: { rules: {
'no-undef': 'off', // https://stackoverflow.com/a/69155899 'no-undef': 'off', // https://stackoverflow.com/a/69155899
'react/prop-types': 'off',
}, },
parser: '@typescript-eslint/parser', parser: '@typescript-eslint/parser',
}, },