Skip to content

[Backport 2.x] [Bug]Support for date range in report generation #255

[Backport 2.x] [Bug]Support for date range in report generation

[Backport 2.x] [Bug]Support for date range in report generation #255

Triggered via pull request February 14, 2025 20:04
Status Failure
Total duration 4m 32s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 9 warnings
Lint: public/components/report_definitions/create/create_report_definition.tsx#L20
'converter' is defined but never used. Allowed unused vars must match /^_/u
Lint: public/components/report_definitions/create/create_report_definition.tsx#L217
Expected exception block, space or tab after '//' in comment
Lint: public/components/report_definitions/create/create_report_definition.tsx#L256
Expected exception block, space or tab after '//' in comment
Lint: public/components/report_definitions/create/create_report_definition.tsx#L265
'error' is already declared in the upper scope
Lint
Process completed with exit code 1.
Lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Lint: public/components/report_definitions/create/create_report_definition.tsx#L51
Unexpected any. Specify a different type
Lint: public/components/report_definitions/create/create_report_definition.tsx#L95
Unexpected any. Specify a different type
Lint: public/components/report_definitions/create/create_report_definition.tsx#L96
Unexpected any. Specify a different type
Lint: public/components/report_definitions/create/create_report_definition.tsx#L97
Unexpected any. Specify a different type
Lint: public/components/report_definitions/create/create_report_definition.tsx#L98
Unexpected any. Specify a different type
Lint: public/components/report_definitions/create/create_report_definition.tsx#L204
Unexpected any. Specify a different type
Lint: public/components/report_definitions/create/create_report_definition.tsx#L294
React Hook useEffect has a missing dependency: 'props'. Either include it or remove the dependency array. However, 'props' will change when *any* prop changes, so the preferred fix is to destructure the 'props' object outside of the useEffect call and refer to those specific props inside useEffect