eslint + loading on StrucVis + minor refactor #32
Annotations
8 errors and 8 warnings
|
lint:
src/AiidaExplorer/components/Overlay.jsx#L6
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
|
|
lint:
src/AiidaExplorer/VisualiserPane/Rich/UpfDataVisualiser.jsx#L163
'radial_grid' is assigned a value but never used. Allowed unused vars must match /^[A-Z_]/u
|
|
lint:
src/AiidaExplorer/VisualiserPane/Rich/KpointsDataVisualiser.jsx#L68
'numSites' is assigned a value but never used. Allowed unused vars must match /^[A-Z_]/u
|
|
lint:
src/AiidaExplorer/VisualiserPane/Rich/KpointsDataVisualiser.jsx#L61
'lattice' is assigned a value but never used. Allowed unused vars must match /^[A-Z_]/u
|
|
lint:
src/AiidaExplorer/GroupsViewer/index.jsx#L50
Unexpected lexical declaration in case block
|
|
lint:
src/AiidaExplorer/GroupsViewer/index.jsx#L24
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
|
|
lint:
src/AiidaExplorer/GroupsViewer/index.jsx#L6
There should be no empty line within import group
|
|
lint:
src/AiidaExplorer/GroupsViewer/index.jsx#L3
There should be no empty line within import group
|
|
lint:
src/AiidaExplorer/index.jsx#L162
React Hook useEffect has missing dependencies: 'breadcrumbs', 'ensureNodeData', and 'extraNodeData'. Either include them or remove the dependency array
|
|
lint:
src/AiidaExplorer/components/SimplePlot.jsx#L15
React Hook useMemo has a complex expression in the dependency array. Extract it to a separate variable so it can be statically checked
|
|
lint:
src/AiidaExplorer/components/SimplePlot.jsx#L15
React Hook useMemo has a missing dependency: 'config'. Either include it or remove the dependency array
|
|
lint:
src/AiidaExplorer/components/SimplePlot.jsx#L14
React Hook useMemo has a complex expression in the dependency array. Extract it to a separate variable so it can be statically checked
|
|
lint:
src/AiidaExplorer/components/SimplePlot.jsx#L14
React Hook useMemo has a missing dependency: 'layout'. Either include it or remove the dependency array
|
|
lint:
src/AiidaExplorer/components/SimplePlot.jsx#L13
React Hook useMemo has a complex expression in the dependency array. Extract it to a separate variable so it can be statically checked
|
|
lint:
src/AiidaExplorer/components/SimplePlot.jsx#L13
React Hook useMemo has a missing dependency: 'data'. Either include it or remove the dependency array
|
|
lint:
src/AiidaExplorer/VisualiserPane/index.jsx#L52
React Hook useEffect has a missing dependency: 'richVisualiser'. Either include it or remove the dependency array
|