Update linting

This commit is contained in:
Zaid Humaimidi committed 2023-12-16 19:08:13 -08:00
1 parent 4f2dfb4f48
commit 0c9c027a77
112 files changed
+3781 -4125

No files matched your search

+2 -2
View File
@@ -37,7 +37,7 @@ export function variance(deviceId: string, vrnc: number): number {
export function interval(
timestamp: number,
intrvl: number,
offset = 0
offset = 0,
): number {
return Math.trunc((timestamp + offset) / intrvl) * intrvl - offset;
}
@@ -52,7 +52,7 @@ export function parseCron(cronExp: string): any {
export function cron(
timestamp: number,
schedule: unknown,
offset = 0
offset = 0,
): number[] {
// TODO later.js doesn't throw erorr if expression is invalid!
const ret = [0, 0];