✨ Extract grapher state from the react component #27131
Annotations
2 errors and 11 warnings
Run eslint:
site/DataPageV2Content.tsx#L278
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
|
Run eslint
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run eslint:
baker/GrapherImageBaker.tsx#L127
'vardata' is assigned a value but never used. Allowed unused vars must match /^_/u
|
Run eslint:
baker/GrapherImageBaker.tsx#L232
'vardata' is defined but never used. Allowed unused args must match /^_/u
|
Run eslint:
baker/updateChartEntities.ts#L90
'variableData' is assigned a value but never used. Allowed unused vars must match /^_/u
|
Run eslint:
packages/@ourworldindata/explorer/src/Explorer.tsx#L712
'inputTableTransformer' is assigned a value but never used. Allowed unused vars must match /^_/u
|
Run eslint:
packages/@ourworldindata/grapher/src/chart/DimensionSlot.ts#L3
'Grapher' is defined but never used. Allowed unused vars must match /^_/u
|
Run eslint:
packages/@ourworldindata/grapher/src/core/FetchingGrapher.tsx#L24
Unexpected console statement
|
Run eslint:
packages/@ourworldindata/grapher/src/core/FetchingGrapher.tsx#L30
'setGrapherState' is assigned a value but never used. Allowed unused vars must match /^_/u
|
Run eslint:
packages/@ourworldindata/grapher/src/core/FetchingGrapher.tsx#L42
Unexpected console statement
|
Run eslint:
packages/@ourworldindata/grapher/src/core/FetchingGrapher.tsx#L49
Unexpected console statement
|
Run eslint:
packages/@ourworldindata/grapher/src/core/Grapher.jsdom.test.ts#L3
'Grapher' is defined but never used. Allowed unused vars must match /^_/u
|
Loading