Drop the mutation and sequential-await rules and the stale directives. [skip build]
This commit is contained in:
@@ -97,6 +97,14 @@ export default [
|
||||
// Genuine shift and mask work in discordCollectibles.ts and cryptE2ERoomKeys.js.
|
||||
'no-bitwise': 'off',
|
||||
|
||||
// 60 of the 61 findings are property mutations on objects the caller passes in, and the
|
||||
// callers depend on the mutation. Reassigning the parameter itself is still a finding.
|
||||
'no-param-reassign': ['error', { props: false }],
|
||||
|
||||
// The sequential awaits here are deliberate: the rate-limit delays in Permissions.tsx and
|
||||
// the endpoint poll loop in backgroundSync.ts break if the awaits are parallelised.
|
||||
'no-await-in-loop': 'off',
|
||||
|
||||
'@typescript-eslint/no-unused-vars': 'error',
|
||||
'@typescript-eslint/no-shadow': 'error',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user