bigint: use native bigint instead of big-integer #29
Annotations
11 errors and 10 warnings
|
Lint:
src/da.ts#L1
Delete `⏎`
|
Lint:
src/da.ts#L24
Replace `)·===·0n⏎······&&·(year·%·100n)·!==·0n⏎······||·(year·%·400n)` with `·===·0n·&&·year·%·100n·!==·0n)·||·year·%·400n`
|
Lint:
src/da.ts#L38
Replace `(BigInt(det.year))` with `BigInt(det.year)`
|
Lint:
src/da.ts#L53
Replace `(y·%·4n)` with `y·%·4n`
|
Lint:
src/da.ts#L56
Replace `(y·%·100n)` with `y·%·100n`
|
Lint:
src/da.ts#L59
Replace `(y·%·400n)` with `y·%·400n`
|
Lint:
src/da.ts#L64
Replace `(eras·*·(4n·*·36524n·+·1n)` with `eras·*·(4n·*·36524n·+·1n`
|
Lint:
src/da.ts#L71
Replace `·BigInt(det.time.second)` with `⏎····BigInt(det.time.second)·+`
|
Lint:
src/da.ts#L72
Replace `+·(DAY_YO·*·day)` with `DAY_YO·*·day·+`
|
Lint:
src/da.ts#L73
Replace `+·(HOR_YO·*·BigInt(det.time.hour))` with `HOR_YO·*·BigInt(det.time.hour)·+`
|
Lint:
src/da.ts#L52
Expected '===' and instead saw '=='
|
Lint:
src/da.ts#L157
Expected '===' and instead saw '=='
|
Lint:
src/hoon/muk.ts#L90
Expected a 'break' statement before 'case'
|
Lint:
src/hoon/muk.ts#L92
Expected a 'break' statement before 'case'
|
Lint:
src/hoon/ob.ts#L163
Assign object to a variable before exporting as module default
|
Lint:
src/ud.ts#L24
Unnecessary escape character: \.
|
Lint:
test/aura.test.ts#L25
Array.prototype.map() expects a return value from arrow function
|
Lint:
test/aura.test.ts#L30
Expected '===' and instead saw '=='
|
Lint:
test/aura.test.ts#L50
Array.prototype.map() expects a return value from arrow function
|
Lint:
test/aura.test.ts#L81
Array.prototype.map() expects a return value from arrow function
|
Loading