initial tanstack wrapping #87
Annotations
10 errors and 9 warnings
|
lint:
src/AiidaExplorer/VisualiserPane/Rich/StructureDataVisualiser/index.jsx#L4
There should be no empty line within import group
|
|
lint:
src/AiidaExplorer/VisualiserPane/Rich/StructureDataVisualiser/index.jsx#L3
`mathjs` import should occur before import of `react`
|
|
lint:
src/AiidaExplorer/VisualiserPane/Rich/StructureDataVisualiser/index.jsx#L1
'useCallback' is defined but never used. Allowed unused vars must match /^[A-Z_]/u
|
|
lint:
src/AiidaExplorer/VisualiserPane/Rich/StructureDataVisualiser/index.jsx#L1
There should be no empty line within import group
|
|
lint:
src/AiidaExplorer/VisualiserPane/Rich/BandsDataVisualiser.jsx#L18
'isError' is assigned a value but never used. Allowed unused vars must match /^[A-Z_]/u
|
|
lint:
src/AiidaExplorer/VisualiserPane/Rich/BandsDataVisualiser.jsx#L3
`@tanstack/react-query` import should occur before import of `bands-visualiser`
|
|
lint:
src/AiidaExplorer/VisualiserPane/Rich/BandsDataVisualiser.jsx#L2
'useState' is defined but never used. Allowed unused vars must match /^[A-Z_]/u
|
|
lint:
src/AiidaExplorer/GroupsViewer/index.jsx#L117
'groupsError' is assigned a value but never used. Allowed unused vars must match /^[A-Z_]/u
|
|
lint:
src/AiidaExplorer/GroupsViewer/index.jsx#L116
'groupsLoading' is assigned a value but never used. Allowed unused vars must match /^[A-Z_]/u
|
|
lint:
src/AiidaExplorer/GroupsViewer/index.jsx#L2
`@tanstack/react-query` import should occur before import of `react`
|
|
lint:
src/AiidaExplorer/index.jsx#L237
React Hook useEffect has missing dependencies: 'breadcrumbs', 'ensureNodeData', and 'sizeCategory'. Either include them or remove the dependency array
|
|
lint:
src/AiidaExplorer/VisualiserPane/index.jsx#L57
React Hook useEffect has a missing dependency: 'richVisualiser'. Either include it or remove the dependency array
|
|
lint:
src/AiidaExplorer/VisualiserPane/index.jsx#L47
React Hook useMemo has a missing dependency: 'selectedNode'. Either include it or remove the dependency array
|
|
lint:
src/AiidaExplorer/VisualiserPane/Rich/StructureDataVisualiser/index.jsx#L63
The 'kinds' logical expression could make the dependencies of useEffect Hook (at line 118) change on every render. To fix this, wrap the initialization of 'kinds' in its own useMemo() Hook
|
|
lint:
src/AiidaExplorer/VisualiserPane/Rich/StructureDataVisualiser/index.jsx#L63
The 'kinds' logical expression could make the dependencies of useMemo Hook (at line 104) change on every render. To fix this, wrap the initialization of 'kinds' in its own useMemo() Hook
|
|
lint:
src/AiidaExplorer/VisualiserPane/Rich/StructureDataVisualiser/index.jsx#L62
The 'sites' logical expression could make the dependencies of useEffect Hook (at line 118) change on every render. To fix this, wrap the initialization of 'sites' in its own useMemo() Hook
|
|
lint:
src/AiidaExplorer/VisualiserPane/Rich/StructureDataVisualiser/index.jsx#L62
The 'sites' logical expression could make the dependencies of useMemo Hook (at line 104) change on every render. To fix this, wrap the initialization of 'sites' in its own useMemo() Hook
|
|
lint:
src/AiidaExplorer/VisualiserPane/Rich/StructureDataVisualiser/index.jsx#L62
The 'sites' logical expression could make the dependencies of useMemo Hook (at line 97) change on every render. To fix this, wrap the initialization of 'sites' in its own useMemo() Hook
|
|
lint:
src/AiidaExplorer/VisualiserPane/Rich/StructureDataVisualiser/index.jsx#L62
The 'sites' logical expression could make the dependencies of useMemo Hook (at line 77) change on every render. To fix this, wrap the initialization of 'sites' in its own useMemo() Hook
|