Skip to content

feat: sort spectra by specific parameter #7993

feat: sort spectra by specific parameter

feat: sort spectra by specific parameter #7993

Triggered via pull request October 22, 2024 09:11
Status Failure
Total duration 2m 33s
Artifacts

nodejs.yml

on: pull_request
nodejs  /  lint-eslint
2m 0s
nodejs / lint-eslint
nodejs  /  lint-prettier
39s
nodejs / lint-prettier
nodejs  /  lint-check-types
1m 32s
nodejs / lint-check-types
Matrix: nodejs / test
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 10 warnings
nodejs / lint-check-types: src/component/context/DispatchContext.tsx#L16
Cannot find module '../reducer/actions/SpectraAnalysisAction.js' or its corresponding type declarations.
nodejs / lint-check-types: src/component/context/SortSpectraContext.tsx#L1
Cannot find module 'lodash/get' or its corresponding type declarations.
nodejs / lint-check-types: src/component/context/SortSpectraContext.tsx#L2
'Spectrum' is a type and must be imported using a type-only import when 'verbatimModuleSyntax' is enabled.
nodejs / lint-check-types: src/component/context/SortSpectraContext.tsx#L5
'ReactNode' is a type and must be imported using a type-only import when 'verbatimModuleSyntax' is enabled.
nodejs / lint-check-types: src/component/context/SortSpectraContext.tsx#L12
Relative import paths need explicit file extensions in ECMAScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Did you mean '../utility/nucleusToString.js'?
nodejs / lint-check-types
Process completed with exit code 2.
nodejs / lint-eslint: src/component/context/SortSpectraContext.tsx#L2
All imports in the declaration are only used as types. Use `import type`
nodejs / lint-eslint: src/component/context/SortSpectraContext.tsx#L3
Imports "ReactNode" are only used as type
nodejs / lint-eslint
Process completed with exit code 1.
nodejs / lint-eslint: src/component/assignment/index.tsx#L31
Unexpected 'todo' comment: 'TODO: Fix this type error. It's been...'
nodejs / lint-eslint: src/component/elements/ActionsButtonsPopover.tsx#L69
Do not use Array index in keys
nodejs / lint-eslint: src/component/elements/Alert.tsx#L139
Do not use Array index in keys
nodejs / lint-eslint: src/component/elements/Button.tsx#L1
Unexpected 'todo' comment: 'TODO resolve the eslint rules'
nodejs / lint-eslint: src/component/elements/InputRange.tsx#L39
Unexpected 'todo' comment: 'TODO: remove this hacky ref usage.'
nodejs / lint-eslint: src/component/elements/NumberInput2Controller.tsx#L19
Capture group '(\.\d+)' should be converted to a named or non-capturing group
nodejs / lint-eslint: src/component/modal/MultipletAnalysisModal.tsx#L175
Unexpected 'todo' comment: 'TODO: handle error'
nodejs / lint-eslint: src/component/panels/RangesPanel/hooks/useMapRanges.ts#L9
Unexpected 'todo' comment: 'TODO need to refactor the ranges table'
nodejs / lint-eslint: src/component/panels/SummaryPanel/utilities/Utilities.ts#L125
Unexpected 'todo' comment: 'TODO: handle default?'
nodejs / lint-eslint: src/component/panels/spectrumSimulation/SpectrumSimulation.tsx#L30
Capture group '(\.\d+)' should be converted to a named or non-capturing group