chore: optimize lint-staged #185
checks.yml
on: pull_request
Build
5m 19s
Lint
1m 6s
Unit-Test
1m 56s
Integration-Test
1m 32s
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/chains/ChainSelect.tsx#L50
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 “ChainSelect” and pass data as props. If you want to allow component creation in props, set allowAsProps option to true
|
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/PoolActivityChart/PoolActivityChart.tsx#L10
Function component is not a function declaration
|
Lint:
packages/lib/modules/pool/PoolDetail/PoolActivityChart/PoolActivityChart.tsx#L68
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
|
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']
|