refactor: Make no-extra-parens rule stricter

This commit is contained in:
Joachim Van Herwegen
2024-03-12 14:44:09 +01:00
parent c4df54dd88
commit 28af181eee
5 changed files with 13 additions and 5 deletions

View File

@@ -160,7 +160,7 @@ export class StaticAssetHandler extends HttpHandler {
{
// eslint-disable-next-line ts/naming-convention
'cache-control': `max-age=${this.expires}`,
expires: new Date(Date.now() + (this.expires * 1000)).toUTCString(),
expires: new Date(Date.now() + this.expires * 1000).toUTCString(),
};
}
}