refactor(app): refactor app dropdownmenu and inputfield for RTP #34387
Annotations
5 errors and 11 warnings
lint js:
app/src/organisms/Devices/RobotSettings/AdvancedTab/AdvancedTabSlideouts/RenameRobotSlideout.tsx#L9
'TYPOGRAPHY' is defined but never used
|
lint js:
app/src/pages/NameRobot/index.tsx#L45
'INPUT_FIELD_ODD_STYLE' is assigned a value but never used
|
lint js
Process completed with exit code 2.
|
typechecks:
app/src/atoms/InputField/index.tsx#L228
Type '{ "data-testid": string | undefined; value: string | number; placeholder: string | undefined; disabled?: boolean | undefined; onChange?: ChangeEventHandler<HTMLInputElement> | undefined; name?: string | undefined; id?: string | undefined; units?: ReactNode; error?: string | null | undefined; title?: string | null | undefined; caption?: string | null | undefined; secondaryCaption?: string | null | undefined; type?: "number" | "password" | "text" | undefined; onClick?: ((event: MouseEvent<HTMLInputElement, MouseEvent>) => unknown) | undefined; onFocus?: ((event: FocusEvent<HTMLInputElement, Element>) => unknown) | undefined; onBlur?: ((event: FocusEvent<HTMLInputElement, Element>) => unknown) | undefined; readOnly?: boolean | undefined; tabIndex?: number | undefined; autoFocus?: boolean | undefined; isIndeterminate?: boolean | undefined; max?: number | undefined; min?: number | undefined; textAlign?: "left" | "right" | "center" | undefined; size?: "medium" | "small" | undefined; }' is not assignable to type 'DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>'.
|
typechecks
Process completed with exit code 2.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/github-script@v6, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
lint js:
api-client/src/calibration/types.ts#L1
All imports in the declaration are only used as types. Use `import type`
|
lint js:
api-client/src/modules/api-types.ts#L1
All imports in the declaration are only used as types. Use `import type`
|
lint js:
api-client/src/modules/types.ts#L8
All imports in the declaration are only used as types. Use `import type`
|
lint js:
api-client/src/modules/types.ts#L15
All imports in the declaration are only used as types. Use `import type`
|
lint js:
api-client/src/pipettes/types.ts#L62
A record is preferred over an index signature
|
lint js:
api-client/src/pipettes/types.ts#L69
A record is preferred over an index signature
|
lint js:
api-client/src/pipettes/types.ts#L77
A record is preferred over an index signature
|
lint js:
api-client/src/pipettes/types.ts#L81
A record is preferred over an index signature
|
lint js:
api-client/src/pipettes/types.ts#L90
A record is preferred over an index signature
|
lint js:
api-client/src/protocols/__tests__/utils.test.ts#L17
All imports in the declaration are only used as types. Use `import type`
|
Loading