Skip to content

ESLint

ESLint #11

Triggered via schedule July 14, 2023 10:31
Status Failure
Total duration 38s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

eslint.yml

on: schedule
Run eslint scanning
29s
Run eslint scanning
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 5 warnings
Run eslint scanning: src/apis/parsers/pre-search.spec.ts#L2
`./__test__/assets/pre-search.txt?raw` import should occur before import of `./pre-search`
Run eslint scanning: src/apis/parsers/pre-search.spec.ts#L3
`./__test__/assets/pre-search.json` import should occur before import of `./pre-search`
Run eslint scanning: src/apis/parsers/truyen-tranh/[slug]-chap-[chap].ts#L68
Definition for rule 'functional/no-loop-statements' was not found
Run eslint scanning: src/apis/parsers/truyen-tranh/[slug]-chap-[chap].ts#L75
Definition for rule 'functional/no-loop-statements' was not found
Run eslint scanning: src/boot/unocss.ts#L2
"@unocss/reset" is extraneous
Run eslint scanning: src/logic/http.ts#L41
Unexpected throw, throwing exceptions is not functional
Run eslint scanning: src/logic/http.ts#L64
Unexpected throw, throwing exceptions is not functional
Run eslint scanning
Process completed with exit code 1.
Run eslint scanning
The following actions uses node12 which is deprecated and will be forced to run on node16: pnpm/action-setup@v2.0.1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Run eslint scanning
The `save-state` 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/
Run eslint scanning
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/
Run eslint scanning
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/
Run eslint scanning: src/constants.ts#L1
Strings must use doublequote