X2-9506 added future date range for relative date range picker #340
+135
−57
GitHub Actions / View Lint Report
failed
Sep 18, 2024 in 0s
View Lint Report
1 ESLint error(s) and 0 ESLint warning(s) found in pull request changed files.
0 ESLint error(s) and 0 ESLint warning(s) found in files outside of the pull request.
Details
Pull Request Changed Files ESLint Results:
1 ESLint error(s) and 0 ESLint warning(s) found
1 Error(s):
src/components/DatePicker/RelativeDateRange.jsx
line 89
- Start Line:
89
- End Line:
89
- Message:
futureDates
should be aSet
, and usefutureDates.has()
to check existence or non-existence.- From: [
unicorn/prefer-set-has
]
- From: [
Non-Pull Request Changed Files ESLint Results:
0 ESLint error(s) and 0 ESLint warning(s) found
Annotations
Check failure on line 89 in src/components/DatePicker/RelativeDateRange.jsx
github-actions / View Lint Report
src/components/DatePicker/RelativeDateRange.jsx#L89
[unicorn/prefer-set-has] `futureDates` should be a `Set`, and use `futureDates.has()` to check existence or non-existence.
Loading