style: set react/forbid-prop-types to warn

We should really fix these, but it's a lot of work and I'm short on
time...
This commit is contained in:
Christopher Willis-Ford 2024-02-26 13:20:15 -08:00
parent a96fe522f4
commit 5dcb198737

View file

@ -18,6 +18,7 @@ module.exports = {
properties: 'never', // This is from the base `scratch` config
allow: ['^UNSAFE_'] // Allow until migrated to new lifecycle methods
}],
'react-hooks/rules-of-hooks': 'error'
'react-hooks/rules-of-hooks': 'error',
'react/forbid-prop-types': 'warn'
}
};