Skip to content

Refactor gateway functions #498

Refactor gateway functions

Refactor gateway functions #498

Triggered via pull request September 25, 2024 11:06
Status Failure
Total duration 1m 0s
Artifacts

lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 5 warnings
build: packages/client/src/evmCall.ts#L31
Expected interface keys to be in ascending order. 'txOptions' should be before 'values'
build: packages/client/src/evmCall.ts#L32
Expected interface keys to be in ascending order. 'revertOptions' should be before 'txOptions'
build: packages/client/src/evmDeposit.ts#L33
Expected interface keys to be in ascending order. 'revertOptions' should be before 'txOptions'
build: packages/client/src/evmDepositAndCall.ts#L36
Expected interface keys to be in ascending order. 'txOptions' should be before 'values'
build: packages/client/src/evmDepositAndCall.ts#L37
Expected interface keys to be in ascending order. 'revertOptions' should be before 'txOptions'
build: packages/client/src/types.ts#L7
Expected interface keys to be in ascending order. 'callOnRevert' should be before 'revertMessage'
build: packages/client/src/zetachainCall.ts#L39
Expected interface keys to be in ascending order. 'gasLimit' should be before 'zrc20'
build: packages/client/src/zetachainCall.ts#L41
Expected interface keys to be in ascending order. 'revertOptions' should be before 'txOptions'
build: packages/client/src/zetachainCall.ts#L110
Expected object keys to be in ascending order. 'gasZRC20' should be before 'tx'
build: packages/client/src/zetachainCall.ts#L110
Expected object keys to be in ascending order. 'gasFee' should be before 'gasZRC20'
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build: packages/client/src/getFees.ts#L8
Prefer using arrow functions over plain functions
build: packages/client/src/getHardhatConfig.ts#L13
Prefer using arrow functions over plain functions
build: packages/client/src/solanaDeposit.ts#L10
Prefer using arrow functions over plain functions
build: packages/client/src/trackCCTX.ts#L50
Prefer using arrow functions over plain functions