feat: improve 1D line broadening filter #8028
nodejs.yml
on: pull_request
nodejs
/
prepare
16s
stylelint
39s
nodejs
/
lint-eslint
5m 38s
nodejs
/
lint-prettier
38s
nodejs
/
lint-check-types
4m 33s
Matrix: nodejs / test
Annotations
20 errors and 10 warnings
nodejs / lint-check-types:
src/component/1d/ApodizationLine.tsx#L1
'Spectrum1D' is a type and must be imported using a type-only import when 'verbatimModuleSyntax' is enabled.
|
nodejs / lint-check-types:
src/component/1d/ApodizationLine.tsx#L50
Property 'lineBroadening' does not exist on type 'Partial<Record<"gaussian" | "exponential" | "lorentzToGauss" | "sineBell" | "sineSquare" | "traf" | "modifiedGaussian", ShapeToAdd<FlexibleWindowFunctions>>>'.
|
nodejs / lint-check-types:
src/component/1d/ApodizationLine.tsx#L50
Property 'gaussBroadening' does not exist on type 'Partial<Record<"gaussian" | "exponential" | "lorentzToGauss" | "sineBell" | "sineSquare" | "traf" | "modifiedGaussian", ShapeToAdd<FlexibleWindowFunctions>>>'.
|
nodejs / lint-check-types:
src/component/1d/ApodizationLine.tsx#L50
Property 'lineBroadeningCenter' does not exist on type 'Partial<Record<"gaussian" | "exponential" | "lorentzToGauss" | "sineBell" | "sineSquare" | "traf" | "modifiedGaussian", ShapeToAdd<FlexibleWindowFunctions>>>'.
|
nodejs / lint-check-types:
src/component/2d/1d-tracer/phase-correction-traces/SpectrumPhaseTrace.tsx#L146
Argument of type 'Spectrum1D' is not assignable to parameter of type 'Entry1D'.
|
nodejs / lint-check-types:
src/component/header/SimpleApodizationOptionsPanel.tsx#L40
Type '"lineBroadening"' is not assignable to type '"gaussian" | "exponential" | "lorentzToGauss" | "sineBell" | "sineSquare" | "traf" | "modifiedGaussian" | "livePreview" | "gaussian.shape" | "gaussian.apply" | "gaussian.shape.kind" | ... 101 more ... | "modifiedGaussian.shape.options.dwellTime"'.
|
nodejs / lint-check-types:
src/component/header/SimplePhaseCorrectionOptionsPanel.tsx#L27
Argument of type 'Filter | null' is not assignable to parameter of type 'PhaseCorrection1DFilterOptions | null'.
|
nodejs / lint-check-types:
src/component/header/SimplePhaseCorrectionTwoDimensionsPanel.tsx#L35
Argument of type 'Filter | null' is not assignable to parameter of type '(PhaseCorrection2DOptions & Filter) | null'.
|
nodejs / lint-check-types:
src/component/header/SimpleZeroFillingOptionsPanel.tsx#L19
Argument of type 'Filter | null' is not assignable to parameter of type 'ZeroFillingFilterOptions | null'.
|
nodejs / lint-check-types:
src/component/modal/editRange/forms/components/signal-tabs/SignalPeaksTable.tsx#L52
Argument of type 'Spectrum1D' is not assignable to parameter of type 'Entry1D'.
|
nodejs / lint-eslint:
src/component/1d/ApodizationLine.tsx#L1
All imports in the declaration are only used as types. Use `import type`
|
nodejs / lint-eslint:
src/component/header/SimpleApodizationOptionsPanel.tsx#L14
Expected 1 empty line after import statement not followed by another import
|
nodejs / lint-eslint:
src/component/panels/filtersPanel/Filters/FiltersSectionsPanel.tsx#L7
Prefer using a top-level type-only import instead of inline type specifiers
|
nodejs / lint-eslint:
src/component/panels/filtersPanel/Filters/FiltersSectionsPanel.tsx#L8
Prefer using a top-level type-only import instead of inline type specifiers
|
nodejs / lint-eslint:
src/component/panels/filtersPanel/Filters/hooks/useSharedApodization.tsx#L2
'/home/runner/work/nmrium/nmrium/node_modules/nmr-processing/nmr-processing.mjs' imported multiple times
|
nodejs / lint-eslint:
src/component/panels/filtersPanel/Filters/hooks/useSharedApodization.tsx#L7
'/home/runner/work/nmrium/nmrium/node_modules/nmr-processing/nmr-processing.mjs' imported multiple times
|
nodejs / lint-eslint:
src/component/panels/filtersPanel/Filters/index.tsx#L1
All imports in the declaration are only used as types. Use `import type`
|
nodejs / lint-eslint:
src/component/reducer/Reducer.ts#L8
'/home/runner/work/nmrium/nmrium/node_modules/nmr-processing/nmr-processing.mjs' imported multiple times
|
nodejs / lint-eslint:
src/component/reducer/Reducer.ts#L11
'/home/runner/work/nmrium/nmrium/node_modules/nmr-processing/nmr-processing.mjs' imported multiple times
|
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/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/header/SimpleApodizationOptionsPanel.tsx#L14
`nmr-processing` type import should occur before import of `react`
|
nodejs / lint-eslint:
src/component/header/SimpleBaseLineCorrectionOptionsPanel.tsx#L20
`nmr-processing` type import should occur before import of `react`
|
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?'
|