Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

X2-9506 added future date range for relative date range picker #340

Merged
merged 14 commits into from
Oct 3, 2024

fix lint

177efe5
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

X2-9506 added future date range for relative date range picker #340

fix lint
177efe5
Select commit
Loading
Failed to load commit list.
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 a Set, and use futureDates.has() to check existence or non-existence.
    • From: [unicorn/prefer-set-has]

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

See this annotation in the file changed.

@github-actions 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.