Disallow and suppress misused spread operator. (#23294)

This commit is contained in:
Christian Gunderman
2026-03-21 05:21:53 +00:00
committed by GitHub
parent e7b6326cfa
commit 8f391585ab
25 changed files with 59 additions and 0 deletions
@@ -37,6 +37,7 @@ export function applyAdminAllowlist(
const adminConfig = adminAllowlist[serverId];
if (adminConfig) {
const mergedConfig = {
// eslint-disable-next-line @typescript-eslint/no-misused-spread
...localConfig,
url: adminConfig.url,
type: adminConfig.type,