Turn off the React Compiler rules and no-bitwise. [skip build]
This commit is contained in:
@@ -83,6 +83,20 @@ export default [
|
|||||||
'react-hooks/rules-of-hooks': 'error',
|
'react-hooks/rules-of-hooks': 'error',
|
||||||
'react-hooks/exhaustive-deps': '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-unused-vars': 'error',
|
||||||
'@typescript-eslint/no-shadow': 'error',
|
'@typescript-eslint/no-shadow': 'error',
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user