Skip to content

Fix lint

Fix lint #152

Triggered via push October 30, 2024 11:03
Status Failure
Total duration 1m 9s
Artifacts

netlify.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

14 errors
build-dev: node_modules/@vocdoni/sdk/src/core/vote.ts#L197
Argument of type 'Buffer' is not assignable to parameter of type 'Uint8Array'.
build-dev: node_modules/@vocdoni/sdk/src/core/vote.ts#L199
Argument of type 'Buffer' is not assignable to parameter of type 'Uint8Array'.
build-dev: node_modules/@vocdoni/sdk/src/util/encryption.ts#L39
Argument of type 'Buffer' is not assignable to parameter of type 'Uint8Array'.
build-dev: node_modules/@vocdoni/sdk/src/util/encryption.ts#L52
Argument of type 'Buffer' is not assignable to parameter of type 'Uint8Array'.
build-dev: src/components/Process/Aside.tsx#L221
This comparison appears to be unintentional because the types 'bigint' and 'number' have no overlap.
build-dev: src/util/rainbowkit.ts#L28
Type '[{ blockExplorers: { readonly default: { readonly name: "Arbiscan"; readonly url: "https://arbiscan.io"; readonly apiUrl: "https://api.arbiscan.io/api"; }; }; contracts: { readonly multicall3: { ...; }; }; ... 9 more ...; serializers?: ChainSerializers<...>; }, ... 17 more ..., { ...; }]' is not assignable to type '_chains'.
build-dev
Process completed with exit code 2.
build-stg: node_modules/@vocdoni/sdk/src/core/vote.ts#L197
Argument of type 'Buffer' is not assignable to parameter of type 'Uint8Array'.
build-stg: node_modules/@vocdoni/sdk/src/core/vote.ts#L199
Argument of type 'Buffer' is not assignable to parameter of type 'Uint8Array'.
build-stg: node_modules/@vocdoni/sdk/src/util/encryption.ts#L39
Argument of type 'Buffer' is not assignable to parameter of type 'Uint8Array'.
build-stg: node_modules/@vocdoni/sdk/src/util/encryption.ts#L52
Argument of type 'Buffer' is not assignable to parameter of type 'Uint8Array'.
build-stg: src/components/Process/Aside.tsx#L221
This comparison appears to be unintentional because the types 'bigint' and 'number' have no overlap.
build-stg: src/util/rainbowkit.ts#L28
Type '[{ blockExplorers: { readonly default: { readonly name: "Arbiscan"; readonly url: "https://arbiscan.io"; readonly apiUrl: "https://api.arbiscan.io/api"; }; }; contracts: { readonly multicall3: { ...; }; }; ... 9 more ...; serializers?: ChainSerializers<...>; }, ... 17 more ..., { ...; }]' is not assignable to type '_chains'.
build-stg
Process completed with exit code 2.