Skip to content

Update DHQ translator to include PDF #3000

Update DHQ translator to include PDF

Update DHQ translator to include PDF #3000

Triggered via pull request May 10, 2024 00:12
Status Failure
Total duration 1m 23s
Artifacts

ci.yml

on: pull_request
Lint, Check, Test
1m 12s
Lint, Check, Test
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 13 warnings
Lint, Check, Test: Digital Humanities Quarterly.js#L15
Expected to return a value at the end of function 'detectWeb'
Lint, Check, Test: Digital Humanities Quarterly.js#L15
'url' is defined but never used. Allowed unused args must match /^_/u
Lint, Check, Test: Digital Humanities Quarterly.js#L28
The array literal notation [] is preferable
Lint, Check, Test: Digital Humanities Quarterly.js#L30
The object literal notation {} is preferable
Lint, Check, Test: Digital Humanities Quarterly.js#L33
Expected a conditional expression and instead saw an assignment
Lint, Check, Test: Digital Humanities Quarterly.js#L37
Expected to return a value at the end of function
Lint, Check, Test: Digital Humanities Quarterly.js#L47
Trailing spaces not allowed
Lint, Check, Test: Digital Humanities Quarterly.js#L52
Requires a space before '}'
Lint, Check, Test: Digital Humanities Quarterly.js#L63
Trailing spaces not allowed
Lint, Check, Test: Digital Humanities Quarterly.js#L66
Expected a conditional expression and instead saw an assignment
Lint, Check, Test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v2, actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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: Digital Humanities Quarterly.js#L15
Missing license block
Lint, Check, Test: Digital Humanities Quarterly.js#L18
Closing curly brace appears on the same line as the subsequent block
Lint, Check, Test: Digital Humanities Quarterly.js#L52
Closing curly brace should be on the same line as opening curly brace or on the line after the previous block
Lint, Check, Test: Digital Humanities Quarterly.js#L54
Missing space before opening brace
Lint, Check, Test: Digital Humanities Quarterly.js#L55
Missing space before function parentheses
Lint, Check, Test: Digital Humanities Quarterly.js#L72
Missing space before value for key 'url'
Lint, Check, Test: Digital Humanities Quarterly.js#L73
Missing space before value for key 'title'
Lint, Check, Test: Digital Humanities Quarterly.js#L74
Missing space before value for key 'mimeType'
Lint, Check, Test: Digital Humanities Quarterly.js#L82
Missing space before function parentheses
Lint, Check, Test: Digital Humanities Quarterly.js#L82
Closing curly brace should be on the same line as opening curly brace or on the line after the previous block
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/