feat: improve 1D line broadening filter #8047
Annotations
10 errors and 10 warnings
Run ESLint:
src/component/1d-2d/components/SpectrumInfoBlock.tsx#L48
Switch is not exhaustive. Cases not matched: "bigint" | "symbol" | "undefined" | "object" | "function"
|
Run ESLint:
src/component/1d-2d/components/SpectrumInfoBlock.tsx#L108
Switch is not exhaustive. Cases not matched: null
|
Run ESLint:
src/component/1d/Viewer1D.tsx#L171
Switch is not exhaustive. Cases not matched: "shift[true]_ctrl[false]_alt[false]" | "shift[false]_ctrl[false]_alt[false]" | "shift[false]_ctrl[true]_alt[false]" | "shift[false]_ctrl[true]_alt[true]" | "shift[true]_ctrl[false]_alt[true]" | "shift[true]_ctrl[true]_alt[false]" | "shift[true]_ctrl[true]_alt[true]"
|
Run ESLint:
src/component/1d/Viewer1D.tsx#L174
Switch is not exhaustive. Cases not matched: "zoom" | "zoomOut" | "import" | "exportAs" | "spectraStackAlignments" | "spectraCenterAlignments" | "realImaginary" | "peakPicking" | "integral" | "zonePicking" | "slicing" | "rangePicking" | "zeroFilling" | "apodization" | "phaseCorrection" | "phaseCorrectionTwoDimensions" | "baselineCorrection" | "fft" | "fftDimension1" | "fftDimension2" | "multipleSpectraAnalysis" | "exclusionZones" | "autoRangeAndZonePicking" | "HMove" | "equalizer" | "generalSelector" | "databaseRangesSelection" | "matrixGenerationExclusionZones"
|
Run ESLint:
src/component/1d/Viewer1D.tsx#L261
Switch is not exhaustive. Cases not matched: "zoom" | "zoomOut" | "import" | "exportAs" | "spectraStackAlignments" | "spectraCenterAlignments" | "realImaginary" | "peakPicking" | "integral" | "zonePicking" | "slicing" | "rangePicking" | "zeroFilling" | "apodization" | "phaseCorrection" | "phaseCorrectionTwoDimensions" | "baselineCorrection" | "fft" | "fftDimension1" | "fftDimension2" | "multipleSpectraAnalysis" | "exclusionZones" | "autoRangeAndZonePicking" | "HMove" | "equalizer" | "generalSelector" | "databaseRangesSelection" | "matrixGenerationExclusionZones"
|
Run ESLint:
src/component/1d/Viewer1D.tsx#L356
Switch is not exhaustive. Cases not matched: "shift[true]_ctrl[false]_alt[false]" | "shift[false]_ctrl[false]_alt[false]" | "shift[false]_ctrl[false]_alt[true]" | "shift[false]_ctrl[true]_alt[false]" | "shift[false]_ctrl[true]_alt[true]" | "shift[true]_ctrl[false]_alt[true]" | "shift[true]_ctrl[true]_alt[false]" | "shift[true]_ctrl[true]_alt[true]"
|
Run ESLint:
src/component/1d/Viewer1D.tsx#L358
Switch is not exhaustive. Cases not matched: "zoomOut" | "import" | "exportAs" | "spectraStackAlignments" | "spectraCenterAlignments" | "realImaginary" | "zonePicking" | "slicing" | "zeroFilling" | "apodization" | "phaseCorrectionTwoDimensions" | "baselineCorrection" | "fft" | "fftDimension1" | "fftDimension2" | "multipleSpectraAnalysis" | "exclusionZones" | "autoRangeAndZonePicking" | "HMove" | "equalizer" | "generalSelector" | "databaseRangesSelection"
|
Run ESLint:
src/component/1d/peaks/PeakAnnotationsSpreadMode.tsx#L35
Switch is not exhaustive. Cases not matched: null
|
Run ESLint:
src/component/2d/FooterBanner.tsx#L95
Switch is not exhaustive. Cases not matched: null
|
Run ESLint:
src/component/2d/FooterBanner.tsx#L125
Switch is not exhaustive. Cases not matched: null
|
Run ESLint:
eslint.config.js#L29
Unexpected 'todo' comment: 'todo remove the following rules once...'
|
Run ESLint:
src/component/assignment/index.tsx#L31
Unexpected 'todo' comment: 'TODO: Fix this type error. It's been...'
|
Run ESLint:
src/component/elements/Alert.tsx#L139
Do not use Array index in keys
|
Run ESLint:
src/component/elements/Button.tsx#L1
Unexpected 'todo' comment: 'TODO resolve the eslint rules'
|
Run ESLint:
src/component/elements/InputRange.tsx#L39
Unexpected 'todo' comment: 'TODO: remove this hacky ref usage.'
|
Run ESLint:
src/component/elements/NumberInput2Controller.tsx#L19
Capture group '(\.\d+)' should be converted to a named or non-capturing group
|
Run ESLint:
src/component/hooks/useFilter.ts#L7
There should be at least one empty line between import groups
|
Run ESLint:
src/component/hooks/useFilter.ts#L8
`../../data/types/common/ExtractFilterEntry.js` type import should occur before type import of `../../data/types/common/FilterEntry.js`
|
Run ESLint:
src/component/modal/MultipletAnalysisModal.tsx#L175
Unexpected 'todo' comment: 'TODO: handle error'
|
Run ESLint:
src/component/modal/setting/settings-tabs/OnLoadProcessingTabContent.tsx#L13
`../../../../data/getFilterLabel.js` import should occur before import of `../../../elements/IsotopesViewer.js`
|
Loading