Skip to content

feat(disable): add callback to allow disable custom dates #221

feat(disable): add callback to allow disable custom dates

feat(disable): add callback to allow disable custom dates #221

Triggered via pull request September 15, 2024 19:29
Status Failure
Total duration 33s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 13 warnings
lint: src/components/DaySelector.tsx#L61
Replace `·((day?.dayOfMonth·||·0)·-·((day?.dayOfMonth·||·0)·-·day.day))·===` with `⏎············(day?.dayOfMonth·||·0)·-·((day?.dayOfMonth·||·0)·-·day.day)·===⏎···········`
lint: src/components/DaySelector.tsx#L93
Insert `⏎···············`
lint: src/components/Header.tsx#L107
Replace `-` with `·-·`
lint
Process completed with exit code 1.
build
Process completed with exit code 1.
test
Process completed with exit code 1.
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint: src/DateTimePicker.tsx#L137
'date' is already declared in the upper scope on line 77 column 5
lint: src/DateTimePicker.tsx#L144
'startDate' is already declared in the upper scope on line 78 column 5
lint: src/DateTimePicker.tsx#L144
'endDate' is already declared in the upper scope on line 79 column 5
lint: src/DateTimePicker.tsx#L151
'dates' is already declared in the upper scope on line 80 column 5
lint: src/DateTimePicker.tsx#L196
'date' is already declared in the upper scope on line 77 column 5
lint: src/components/Day.tsx#L91
Empty components are self-closing
lint: src/components/Day.tsx#L97
Empty components are self-closing
lint: src/components/Day.tsx#L100
Inline style: { left: '50%' }
lint: src/components/Day.tsx#L109
Empty components are self-closing
lint: src/components/Day.tsx#L112
Inline style: { right: '50%' }
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/