chore: Minor style fixes #348
Annotations
5 errors and 18 warnings
Unit-Test
Property 'setPageIndex' is missing in type '{ isSmall: boolean; totalPageCount: number; canPreviousPage: boolean; canNextPage: boolean; currentPageNumber: number; pageSize: number; goToFirstPage: () => void; goToLastPage: () => void; goToNextPage: () => void; goToPreviousPage: () => void; setPageSize: (value: number) => void; changeSize: boolean; }' but required in type 'Props'.
|
Unit-Test
beets-frontend-v3#typecheck: command (/home/runner/work/frontend-monorepo/frontend-monorepo/apps/beets-frontend-v3) /home/runner/setup-pnpm/node_modules/.bin/pnpm run typecheck exited (2)
|
Unit-Test
Process completed with exit code 2.
|
Build
beets-frontend-v3#build: command (/home/runner/work/frontend-monorepo/frontend-monorepo/apps/beets-frontend-v3) /home/runner/setup-pnpm/node_modules/.bin/pnpm run build exited (1)
|
Build
Process completed with exit code 1.
|
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/pool/PoolDetail/PoolActivityTable/PoolActivityTableRow.tsx#L88
Do not use Array index in keys
|
Lint:
packages/lib/modules/pool/actions/LiquidityActionHelpers.integration.spec.ts#L102
'poolId' is assigned a value but never used
|
Lint:
packages/lib/modules/pool/actions/LiquidityActionHelpers.integration.spec.ts#L217
'poolId' is assigned a value but never used
|
Lint:
packages/lib/modules/pool/actions/add-liquidity/handlers/BoostedUnbalancedAddLiquidityV3.handler.integration.spec.ts#L6
'getPoolMock' is defined but never used
|
Lint:
packages/lib/modules/price-impact/PriceImpactProvider.tsx#L59
Fragments should contain more than one child - otherwise, there’s no need for a Fragment at all
|
Lint:
packages/lib/modules/swap/PoolSwapCard.tsx#L14
This line has a length of 135. Maximum allowed is 120
|
Lint:
packages/lib/modules/tokens/TokenBalancesProvider.tsx#L42
useState call is not destructured into value + setter pair
|
Lint:
packages/lib/modules/tokens/TokenRow/TokenRow.tsx#L149
React Hook useEffect has missing dependencies: 'abbreviated', 'isBpt', 'pool', 'token', and 'usdValueForToken'. Either include them or remove the dependency array. If 'setUsdValue' needs the current value of 'pool', you can also switch to useReducer instead of useState and read 'pool' in the reducer
|
Lint:
packages/lib/modules/tokens/TokenRow/TokenRowGroup.tsx#L50
Do not use Array index in keys
|
Lint:
packages/lib/modules/tokens/TokenSelectModal/TokenSelectList/CompactTokenSelectList.tsx#L56
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 “CompactTokenSelectList” and pass data as props. If you want to allow component creation in props, set allowAsProps option to true
|
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']
|
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']
|
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']
|