Skip to content

Relocate inline <body> scripts to their own tag in the <head> #1750

Relocate inline <body> scripts to their own tag in the <head>

Relocate inline <body> scripts to their own tag in the <head> #1750

Triggered via pull request December 4, 2024 17:57
Status Failure
Total duration 1m 6s
Artifacts

ci.yml

on: pull_request
Matrix: ci-test
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 9 warnings
ci-test (18.x): src/renderers/abstract.renderer.ts#L691
There must be a newline after the description of the JSDoc block
ci-test (18.x): src/renderers/abstract.renderer.ts#L696
'collectedJs' is never reassigned. Use 'const' instead
ci-test (18.x): test/unit/saveArticles.test.ts#L242
'foundInlineJsScript' is never reassigned. Use 'const' instead
ci-test (18.x)
Process completed with exit code 1.
ci-test (18.x): node_modules/@types/imagemin-gifsicle/index.d.ts#L7
The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import("imagemin")' call instead.
ci-test (18.x): node_modules/@types/imagemin-webp/index.d.ts#L7
The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import("imagemin")' call instead.
ci-test (18.x): node_modules/split-by-grapheme/index.ts#L2
Property 'Segmenter' does not exist on type 'typeof Intl'.
ci-test (18.x): node_modules/split-by-grapheme/index.ts#L3
Property 'Segmenter' does not exist on type 'typeof Intl'.
ci-test (18.x): src/renderers/wikimedia-mobile.renderer.ts#L43
'inlineJsScriptTagVal' is defined but never used
ci-test (18.x): test/e2e/vikidia.e2e.test.ts#L1
'execa' is defined but never used
ci-test (18.x): test/e2e/vikidia.e2e.test.ts#L2
'rimraf' is defined but never used
ci-test (18.x): test/e2e/vikidia.e2e.test.ts#L3
'testRenders' is defined but never used
ci-test (18.x): test/e2e/vikidia.e2e.test.ts#L6
'zimcheck' is defined but never used
ci-test (18.x): test/e2e/vikidia.e2e.test.ts#L10
'parameters' is assigned a value but never used
ci-test (18.x): test/unit/renderers/abstract.renderer.test.ts#L6
'renderOpts' is defined but never used
ci-test (18.x): test/unit/saveArticles.test.ts#L15
'MobileRenderer' is defined but never used
ci-test (18.x): test/unit/saveArticles.test.ts#L242
'foundInlineJsScript' is assigned a value but never used