Skip to content

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

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

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

GitHub Actions / View Lint Report failed Sep 18, 2024 in 0s

View Lint Report

3 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:

3 ESLint error(s) and 0 ESLint warning(s) found

3 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]

src/components/DatePicker/RelativeDateRange.jsx line 239

  • Start Line: 239
  • End Line: 239
  • Message: Insert ,
    • From: [prettier/prettier]

src/components/DatePicker/RelativeDateRange.jsx line 252

  • Start Line: 252
  • End Line: 252
  • Message: Expected blank line before this statement.
    • From: [padding-line-between-statements]

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.

Check failure on line 239 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#L239

[prettier/prettier] Insert `,`

Check failure on line 252 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#L252

[padding-line-between-statements] Expected blank line before this statement.