Compare commits
1
Commits
29aaba56f0
...
bb85cd9778
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bb85cd9778 |
@@ -83,6 +83,20 @@ export default [
|
||||
'react-hooks/rules-of-hooks': 'error',
|
||||
'react-hooks/exhaustive-deps': 'error',
|
||||
|
||||
// The build does not run React Compiler, so these rules report advice about a compiler
|
||||
// that never runs. Keep the two rules above, which catch real bugs.
|
||||
'react-hooks/set-state-in-effect': 'off',
|
||||
'react-hooks/set-state-in-render': 'off',
|
||||
'react-hooks/refs': 'off',
|
||||
'react-hooks/immutability': 'off',
|
||||
'react-hooks/incompatible-library': 'off',
|
||||
'react-hooks/preserve-manual-memoization': 'off',
|
||||
'react-hooks/purity': 'off',
|
||||
'react-hooks/use-memo': 'off',
|
||||
|
||||
// Genuine shift and mask work in discordCollectibles.ts and cryptE2ERoomKeys.js.
|
||||
'no-bitwise': 'off',
|
||||
|
||||
'@typescript-eslint/no-unused-vars': 'error',
|
||||
'@typescript-eslint/no-shadow': 'error',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user