Skip to content

structurevisualiser improvements #48

structurevisualiser improvements

structurevisualiser improvements #48

Triggered via push October 26, 2025 14:41
Status Success
Total duration 42s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
lint: src/AiidaExplorer/VisualiserPane/Rich/KpointsDataVisualiser/BZVis.jsx#L2
`brillouinzone-visualizer` import should occur before import of `react`
lint: src/AiidaExplorer/VisualiserPane/Rich/KpointsDataVisualiser/BZVis.jsx#L2
There should be at least one empty line between import groups
lint: src/AiidaExplorer/VisualiserPane/Rich/CalcJobVisualiser.jsx#L66
'copyToClipboard' is assigned a value but never used. Allowed unused vars must match /^[A-Z_]/u
lint: src/AiidaExplorer/VisualiserPane/Rich/CalcJobVisualiser.jsx#L61
'copiedIndex' is assigned a value but never used. Allowed unused vars must match /^[A-Z_]/u
lint: src/AiidaExplorer/VisualiserPane/Rich/CalcJobVisualiser.jsx#L5
There should be no empty line within import group
lint: src/AiidaExplorer/VisualiserPane/Rich/CalcJobVisualiser.jsx#L2
'defaultStyles' is defined 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/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#L54
React Hook useEffect has a missing dependency: 'richVisualiser'. Either include it or remove the dependency array
lint: src/AiidaExplorer/VisualiserPane/Rich/KpointsDataVisualiser/index.jsx#L52
React Hook useMemo has a missing dependency: 'attributes.cell'. Either include it or remove the dependency array
lint: src/AiidaExplorer/VisualiserPane/Rich/KpointsDataVisualiser/index.jsx#L15
The 'derivedProperties' logical expression could make the dependencies of useMemo Hook (at line 28) change on every render. To fix this, wrap the initialization of 'derivedProperties' in its own useMemo() Hook
lint: src/AiidaExplorer/VisualiserPane/Rich/KpointsDataVisualiser/index.jsx#L14
The 'attributes' logical expression could make the dependencies of useMemo Hook (at line 28) change on every render. To fix this, wrap the initialization of 'attributes' in its own useMemo() Hook