Switch from eslint to oxlint

Co-authored-by: Jamie <113370520+jamiebuilds-signal@users.noreply.github.com>
This commit is contained in:
automated-signal
2026-03-30 14:27:16 -05:00
committed by GitHub
parent 707921b9be
commit 806a66e006
606 changed files with 6026 additions and 3790 deletions

View File

@@ -8,15 +8,12 @@ export type RateLimitedErrorPayloadType = Readonly<{
export class RateLimitedError extends Error {
public readonly retryAfterSecs: number;
// eslint-disable-next-line camelcase
constructor({ retry_after }: RateLimitedErrorPayloadType) {
super(
'RateLimitedError: got 4008 close code from CDSI, ' +
// eslint-disable-next-line camelcase
`retry_after=${retry_after}`
);
// eslint-disable-next-line camelcase
this.retryAfterSecs = retry_after ?? 0;
}
}