Skip to content

Commit 36f40d3

Browse files
committed
lint
1 parent 1ab07e5 commit 36f40d3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/storage/filters/jsonQuery.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
/* eslint-disable @typescript-eslint/no-explicit-any */
2-
import { canonicalDouble } from '@iden3/js-jsonld-merklization/dist/types/lib/types/types';
32
import { W3CCredential, ProofQuery } from '../../verifiable';
43

54
/**
@@ -97,9 +96,9 @@ const greaterThan = (
9796
b: ComparableType | ComparableType[]
9897
) => {
9998
const predicate = (a: ComparableType, b: ComparableType) => {
100-
console.time("detectDataFormat")
99+
console.time('detectDataFormat');
101100
const dataFormat = detectDataFormat(a.toString());
102-
console.timeEnd("detectDataFormat")
101+
console.timeEnd('detectDataFormat');
103102

104103
switch (dataFormat) {
105104
case SupportedDataFormat.BigInt:
@@ -354,6 +353,7 @@ const operatorIndependentCheck = (
354353
const regExBigInt = /^[+-]?\d+$/;
355354
const regExDouble = /^[+-]?\d+$/;
356355
const regExDateTimeRFC3339Nano =
356+
/* eslint-disable-next-line */
357357
/^([0-9]+)-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])[Tt]([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9]|60)(\.[0-9]+)?(([Zz])|([\+|\-]([01][0-9]|2[0-3]):[0-5][0-9]))$/;
358358
const regExBoolean = /^(true)|(false)$/;
359359
const regExDateTimeYYYYMMDD = /^\d{4}-\d{2}-\d{2}$/;

0 commit comments

Comments
 (0)