Skip to content

Add erable-governance-v1 strategy (#1579) #461

Add erable-governance-v1 strategy (#1579)

Add erable-governance-v1 strategy (#1579) #461

Triggered via push September 13, 2024 15:33
Status Failure
Total duration 55s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint / Lint: src/strategies/hats-strategy/index.ts#L51
'vaultBalances' is never reassigned. Use 'const' instead
lint / Lint: src/strategies/hats-strategy/index.ts#L64
Replace `parseUnits(balance.toString(),·options.decimals)` with `⏎········parseUnits(balance.toString(),·options.decimals)⏎······`
lint / Lint: src/strategies/hats-strategy/index.ts#L71
Replace `adjustedBalances[address]·||·BigNumber.from(0)` with `⏎······adjustedBalances[address]·||·BigNumber.from(0)⏎····`
lint / Lint: src/strategies/hats-strategy/index.ts#L77
Replace `formatUnits(adjustedBalances[address]·||·BigNumber.from(0),·options.decimals)` with `⏎······formatUnits(⏎········adjustedBalances[address]·||·BigNumber.from(0),⏎········options.decimals⏎······)⏎····`
lint / Lint: src/strategies/sd-gauge-less-vote-boost/index.ts#L210
Replace `(d)·=>·d.source·===·addresses[i].toLowerCase()` with `⏎··········(d)·=>·d.source·===·addresses[i].toLowerCase()⏎········`
lint / Lint
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/