Skip to content

[Backport 2.x] Sanitize markdown when previewing report header/footer #216

[Backport 2.x] Sanitize markdown when previewing report header/footer

[Backport 2.x] Sanitize markdown when previewing report header/footer #216

Triggered via pull request December 10, 2024 17:39
Status Failure
Total duration 4m 13s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 13 warnings
Lint: public/components/report_definitions/report_settings/report_settings.tsx#L34
`showdown` import should occur before import of `./report_settings_constants`
Lint: public/components/report_definitions/report_settings/report_settings.tsx#L34
'Showdown' is defined but never used. Allowed unused vars must match /^_/u
Lint: public/components/report_definitions/report_settings/report_settings.tsx#L35
`react-mde` import should occur before import of `./report_settings_constants`
Lint: public/components/report_definitions/report_settings/report_settings.tsx#L56
`server/model` import should occur before import of `./report_settings_constants`
Lint: public/components/report_definitions/report_settings/report_settings.tsx#L59
Use an `interface` instead of a `type`
Lint: public/components/report_definitions/report_settings/report_settings.tsx#L402
'header' is already declared in the upper scope
Lint: public/components/report_definitions/report_settings/report_settings.tsx#L402
'footer' is already declared in the upper scope
Lint: public/components/report_definitions/report_settings/report_settings.tsx#L503
'fileFormat' is already declared in the upper scope
Lint: public/components/report_definitions/report_settings/report_settings.tsx#L625
'httpClientProps' is already declared in the upper scope
Lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
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/report_settings/report_settings.tsx#L63
Unexpected any. Specify a different type
Lint: public/components/report_definitions/report_settings/report_settings.tsx#L94
Unexpected any. Specify a different type
Lint: public/components/report_definitions/report_settings/report_settings.tsx#L95
Unexpected any. Specify a different type
Lint: public/components/report_definitions/report_settings/report_settings.tsx#L98
Unexpected any. Specify a different type
Lint: public/components/report_definitions/report_settings/report_settings.tsx#L100
Unexpected any. Specify a different type
Lint: public/components/report_definitions/report_settings/report_settings.tsx#L103
Unexpected any. Specify a different type
Lint: public/components/report_definitions/report_settings/report_settings.tsx#L105
Unexpected any. Specify a different type
Lint: public/components/report_definitions/report_settings/report_settings.tsx#L108
Unexpected any. Specify a different type
Lint: public/components/report_definitions/report_settings/report_settings.tsx#L109
Unexpected any. Specify a different type
Lint: public/components/report_definitions/report_settings/report_settings.tsx#L189
Unexpected any. Specify a different type