Skip to content

Lulu: Fix unreachable code after return statement warnings #3185

Lulu: Fix unreachable code after return statement warnings

Lulu: Fix unreachable code after return statement warnings #3185

Triggered via push October 24, 2024 04:02
Status Failure
Total duration 26s
Artifacts

ci.yml

on: push
Lint, Check, Test
16s
Lint, Check, Test
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 13 warnings
Lint, Check, Test: Lulu.js#L19
Expected to return a value at the end of function 'detectWeb'
Lint, Check, Test: Lulu.js#L38
Expected to return a value at the end of function
Lint, Check, Test: Lulu.js#L46
Missing semicolon
Lint, Check, Test: Lulu.js#L88
Trailing spaces not allowed
Lint, Check, Test: Lulu.js#L98
Missing semicolon
Lint, Check, Test: Lulu.js#L103
Expected to return a value at the end of function 'detectSearch'
Lint, Check, Test: Lulu.js#L105
Unexpected constant condition
Lint, Check, Test: Lulu.js#L121
'query' is assigned a value but never used. Allowed unused vars must match /^testCases$|^detectWeb$|^doWeb$|^detectImport$|^doImport$|^doExport$|^detectSearch$|^doSearch$|^exports$/u
Lint, Check, Test: Lulu.js#L126
'url' is defined but never used. Allowed unused args must match /^_/u
Lint, Check, Test: Lulu.js#L138
Unexpected if as the only statement in an else block
Lint, Check, Test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Lint, Check, Test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v2, actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Lint, Check, Test: Lulu.js#L15
Missing license block
Lint, Check, Test: Lulu.js#L20
Unnecessary '.search()', use 'RegExp#test()' instead
Lint, Check, Test: Lulu.js#L24
Unnecessary '.indexOf()', use '.includes()' instead
Lint, Check, Test: Lulu.js#L34
Operator '=' must be spaced
Lint, Check, Test: Lulu.js#L34
Operator '=' must be spaced
Lint, Check, Test: Lulu.js#L34
Operator '<' must be spaced
Lint, Check, Test: Lulu.js#L38
Missing space before function parentheses
Lint, Check, Test: Lulu.js#L47
Closing curly brace appears on the same line as the subsequent block
Lint, Check, Test: Lulu.js#L65
Operator '=' must be spaced
Lint, Check, Test: Lulu.js#L65
Operator '=' must be spaced
Lint, Check, Test
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/