Lulu: Bail properly from detectSearch() #3191
Annotations
10 errors and 13 warnings
Lint:
Lulu.js#L19
Expected to return a value at the end of function 'detectWeb'
|
Lint:
Lulu.js#L38
Expected to return a value at the end of function
|
Lint:
Lulu.js#L46
Missing semicolon
|
Lint:
Lulu.js#L88
Trailing spaces not allowed
|
Lint:
Lulu.js#L98
Missing semicolon
|
Lint:
Lulu.js#L103
Expected to return a value at the end of function 'detectSearch'
|
Lint:
Lulu.js#L105
Unexpected constant condition
|
Lint:
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:
Lulu.js#L126
'url' is defined but never used. Allowed unused args must match /^_/u
|
Lint:
Lulu.js#L138
Unexpected if as the only statement in an else block
|
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/
|
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:
Lulu.js#L15
Missing license block
|
Lint:
Lulu.js#L20
Unnecessary '.search()', use 'RegExp#test()' instead
|
Lint:
Lulu.js#L24
Unnecessary '.indexOf()', use '.includes()' instead
|
Lint:
Lulu.js#L34
Operator '=' must be spaced
|
Lint:
Lulu.js#L34
Operator '=' must be spaced
|
Lint:
Lulu.js#L34
Operator '<' must be spaced
|
Lint:
Lulu.js#L38
Missing space before function parentheses
|
Lint:
Lulu.js#L47
Closing curly brace appears on the same line as the subsequent block
|
Lint:
Lulu.js#L65
Operator '=' must be spaced
|
Lint:
Lulu.js#L65
Operator '=' must be spaced
|
Get current connector hash
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/
|
Loading