chore: Some lint fixes #223
checks.yml
on: pull_request
Build
5m 25s
Lint
1m 13s
Unit-Test
2m 24s
Integration-Test
1m 55s
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/PoolActivityTable/PoolActivityTableRow.tsx#L88
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/PoolList/PoolListTable/PoolListTableHeader.tsx#L46
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
|
Lint:
packages/lib/modules/pool/actions/add-liquidity/form/TokenInputs.tsx#L42
Do not use Array index in keys
|
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']
|