Skip to content

chore: Some lint fixes #223

chore: Some lint fixes

chore: Some lint fixes #223

Triggered via pull request October 29, 2024 15:39
Status Success
Total duration 5m 33s
Artifacts

checks.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

18 warnings
Lint
Unexpected input(s) 'node-version', valid inputs are ['version', 'dest', 'run_install', 'package_json_file', 'standalone']
Lint
Unexpected input(s) 'node-version', valid inputs are ['version', 'dest', 'run_install', 'package_json_file', 'standalone']
Lint: packages/lib/modules/featured-pools/FeaturedPools.tsx#L97
Do not use Array index in keys
Lint: packages/lib/modules/marketing/ProtocolStatsSection.tsx#L112
Do not use Array index in keys
Lint: packages/lib/modules/pool/PoolDetail/PoolComposition/PoolComposition.tsx#L80
Do not define components during render. React will see a new component type on every render and destroy the entire subtree’s DOM nodes and state (https://reactjs.org/docs/reconciliation.html#elements-of-different-types). Instead, move this component definition out of the parent component “PoolComposition” and pass data as props
Lint: packages/lib/modules/pool/PoolDetail/PoolInfo/PoolContracts.tsx#L123
Do not use Array index in keys
Lint: packages/lib/modules/pool/PoolDetail/PoolUserEvents.tsx#L45
Do not define components during render. React will see a new component type on every render and destroy the entire subtree’s DOM nodes and state (https://reactjs.org/docs/reconciliation.html#elements-of-different-types). Instead, move this component definition out of the parent component “PoolEventRow” and pass data as props
Lint: packages/lib/modules/pool/PoolDetail/PoolUserEvents.tsx#L193
Do not use Array index in keys
Lint: packages/lib/modules/pool/actions/add-liquidity/form/AddLiquidityForm.tsx#L90
'humanAmountsIn' is assigned a value but never used
Integration-Test
Unexpected input(s) 'node-version', valid inputs are ['version', 'dest', 'run_install', 'package_json_file', 'standalone']
Integration-Test
Unexpected input(s) 'node-version', valid inputs are ['version', 'dest', 'run_install', 'package_json_file', 'standalone']
Unit-Test
Unexpected input(s) 'node-version', valid inputs are ['version', 'dest', 'run_install', 'package_json_file', 'standalone']
Unit-Test
Unexpected input(s) 'node-version', valid inputs are ['version', 'dest', 'run_install', 'package_json_file', 'standalone']
Build
Unexpected input(s) 'node-version', valid inputs are ['version', 'dest', 'run_install', 'package_json_file', 'standalone']
Build
Unexpected input(s) 'node-version', valid inputs are ['version', 'dest', 'run_install', 'package_json_file', 'standalone']