mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-02-17 00:21:20 -05:00
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:
parent
a96fe522f4
commit
5dcb198737
1 changed files with 2 additions and 1 deletions
|
@ -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'
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue