Skip to content

feat: datum-ui v0.2 — monorepo scaffold, component library, tests, storybook, docs #10

feat: datum-ui v0.2 — monorepo scaffold, component library, tests, storybook, docs

feat: datum-ui v0.2 — monorepo scaffold, component library, tests, storybook, docs #10

Triggered via pull request March 4, 2026 22:26
Status Failure
Total duration 46s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
Lint
@datum-cloud/datum-ui#lint: command (/home/runner/work/datum-ui/datum-ui/packages/datum-ui) /home/runner/setup-pnpm/node_modules/.bin/pnpm run lint exited (1)
Lint: packages/datum-ui/src/components/base/button/button.tsx#L319
Expected indentation of 12 spaces but found 10
Lint: packages/datum-ui/src/components/base/button/button.tsx#L317
Expected indentation of 10 spaces but found 8
Lint: packages/datum-ui/src/components/base/button/button.tsx#L316
Expected indentation of 16 spaces but found 12
Lint: packages/datum-ui/src/components/base/button/button.tsx#L315
Expected indentation of 18 spaces but found 14
Lint: packages/datum-ui/src/components/base/button/button.tsx#L314
Expected indentation of 14 spaces but found 12
Lint: packages/datum-ui/src/components/base/button/button.tsx#L313
Expected indentation of 16 spaces but found 12
Lint: packages/datum-ui/src/components/base/button/button.tsx#L312
Expected indentation of 18 spaces but found 14
Lint: packages/datum-ui/src/components/base/button/button.tsx#L311
Expected indentation of 14 spaces but found 12
Lint: packages/datum-ui/src/components/base/button/button.tsx#L310
Expected indentation of 12 spaces but found 10
Lint: packages/datum-ui/src/components/features/calendar-date-picker/calendar-date-picker.tsx#L192
Do not call the 'set' function 'setPendingDate' of 'useState' directly in 'useEffect'
Lint: packages/datum-ui/src/components/features/calendar-date-picker/calendar-date-picker.tsx#L107
The 'today' object construction makes the dependencies of useMemo Hook (at line 126) change on every render. To fix this, wrap the initialization of 'today' in its own useMemo() Hook
Lint: packages/datum-ui/src/components/features/calendar-date-picker/calendar-date-picker.tsx#L107
The 'today' object construction makes the dependencies of useMemo Hook (at line 117) change on every render. To fix this, wrap the initialization of 'today' in its own useMemo() Hook
Lint: packages/datum-ui/src/components/features/avatar-stack/avatar-stack.tsx#L95
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
Lint: packages/datum-ui/src/components/base/button/index.tsx#L1
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
Lint: packages/datum-ui/src/components/base/button/button.tsx#L332
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
Lint: packages/datum-ui/src/components/base/badge/badge.tsx#L229
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
Lint: apps/storybook/stories/features/calendar-date-picker.stories.tsx#L76
To prevent re-computation, consider using lazy initial state for useState calls that involve function calls. Ex: 'useState(() => getValue())'
Lint: apps/storybook/stories/features/calendar-date-picker.stories.tsx#L75
To prevent re-computation, consider using lazy initial state for useState calls that involve function calls. Ex: 'useState(() => getValue())'
Lint: apps/storybook/stories/base/calendar.stories.tsx#L31
To prevent re-computation, consider using lazy initial state for useState calls that involve function calls. Ex: 'useState(() => getValue())'