chore: Enable more lint rules, disable some that trigger a lot. Will clean up later.
This commit is contained in:
@@ -225,6 +225,7 @@ const runCliJson = async (args: string[], env: NodeJS.ProcessEnv): Promise<unkno
|
||||
throw new Error(
|
||||
`cli returned non-json output: ${String(err)}\n` +
|
||||
`--- stdout ---\n${out}\n--- stderr ---\n${stderr.join("")}`,
|
||||
{ cause: err },
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -28,7 +28,7 @@ function formatZonedTimestamp(date: Date, timeZone?: string): string {
|
||||
const hh = pick("hour");
|
||||
const min = pick("minute");
|
||||
const tz = [...parts]
|
||||
.reverse()
|
||||
.toReversed()
|
||||
.find((part) => part.type === "timeZoneName")
|
||||
?.value?.trim();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user