Skip to content

Get wallet's open positions from AMM protocols #956

Get wallet's open positions from AMM protocols

Get wallet's open positions from AMM protocols #956

Triggered via pull request September 11, 2024 15:10
Status Failure
Total duration 5m 1s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 15 warnings
Run ESLint: src/web3/migration/example.ts#L12
Missing return type on function
Run ESLint: src/web3/migration/getPositions/common.ts#L16
Unexpected block statement surrounding arrow body; move the returned value immediately after the `=>`
Run ESLint: src/web3/migration/getPositions/common.ts#L17
Unexpected block statement surrounding arrow body; parenthesize the returned value and move it immediately after the `=>`
Run ESLint: src/web3/migration/getPositions/meteora.ts#L16
Unexpected block statement surrounding arrow body; move the returned value immediately after the `=>`
Run ESLint: src/web3/migration/getPositions/orca.ts#L26
Unexpected block statement surrounding arrow body; parenthesize the returned value and move it immediately after the `=>`
Run ESLint: src/web3/migration/getPositions/orca.ts#L50
'whirlpool' is never reassigned. Use 'const' instead
Run ESLint: src/web3/migration/getPositions/orca.ts#L101
'_' is defined but never used
Run ESLint: src/web3/migration/getPositions/orca.ts#L102
'_' is defined but never used
Run ESLint: src/web3/migration/getPositions/raydium.ts#L17
'getAllCLMMPoolsFromAPI' is assigned a value but never used
Run ESLint: src/web3/migration/getPositions/raydium.ts#L20
Unexpected constant condition
Run ESLint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Run ESLint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Run ESLint: src/web3/migration/example.ts#L30
Unexpected trailing comma
Run ESLint: src/web3/migration/getPositions/common.ts#L23
Unexpected trailing comma
Run ESLint: src/web3/migration/getPositions/meteora.ts#L25
Unexpected trailing comma
Run ESLint: src/web3/migration/getPositions/orca.ts#L7
Unexpected trailing comma
Run ESLint: src/web3/migration/getPositions/orca.ts#L39
Unexpected trailing comma
Run ESLint: src/web3/migration/getPositions/raydium.ts#L26
Unexpected trailing comma
Run ESLint: src/web3/migration/getPositions/raydium.ts#L53
Unexpected trailing comma
Run ESLint: src/web3/migration/getPositions/raydium.ts#L57
Unexpected trailing comma
Run ESLint: src/web3/migration/getPositions/raydium.ts#L135
Unexpected trailing comma
Run Type Check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Run Type Check
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Run Prettier Check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Run Prettier Check
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/