Skip to content

ci: add publint to check on package json and avoid mistakes #17335

ci: add publint to check on package json and avoid mistakes

ci: add publint to check on package json and avoid mistakes #17335

Triggered via pull request October 23, 2024 09:23
Status Failure
Total duration 3m 57s
Artifacts

ci.yml

on: pull_request
Matrix: build
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

1 error and 10 warnings
publint
Process completed with exit code 1.
lint: jest-axe.d.ts#L15
'any' overrides all other types in this union type
lint: jest-axe.d.ts#L17
'any' overrides all other types in this intersection type
lint: packages/form/src/components/ToggleField/index.tsx#L23
Unexpected any. Specify a different type
lint: packages/form/src/components/ToggleField/index.tsx#L24
Unexpected any. Specify a different type
lint: packages/icons/src/components/Icon/Icon.tsx#L29
"small" | "large" | "xlarge" | "xxlarge" is overridden by string in this union type
lint: packages/icons/src/components/Icon/Icon.tsx#L64
"success" | "danger" | "info" | "neutral" | "primary" | "secondary" | "warning" is overridden by string in this union type
lint: packages/icons/src/components/Icon/Icon.tsx#L109
"small" is overridden by string in this union type
lint: packages/icons/src/components/Icon/Icon.tsx#L109
"large" is overridden by string in this union type
lint: packages/icons/src/components/Icon/legacy/index.tsx#L33
"small" | "large" | "xlarge" | "xxlarge" is overridden by string in this union type
lint: packages/icons/src/components/Icon/legacy/index.tsx#L70
"success" | "danger" | "info" | "neutral" | "primary" | "secondary" | "warning" is overridden by string in this union type