Skip to content

This is a fake PR to test GH actions #2

This is a fake PR to test GH actions

This is a fake PR to test GH actions #2

Triggered via pull request May 21, 2024 17:20
Status Success
Total duration 1m 36s
Artifacts

lint-and-format.yml

on: pull_request
runner / eslint and prettier
57s
runner / eslint and prettier
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 1 warning
runner / eslint and prettier: src/js/views/TOCView.js#L8
[eslint] reported by reviewdog 🐶 Unexpected function expression. Raw Output: {"ruleId":"prefer-arrow-callback","severity":2,"message":"Unexpected function expression.","line":8,"column":4,"nodeType":"FunctionExpression","messageId":"preferArrowCallback","endLine":483,"endColumn":2,"fix":{"range":[181,249],"text":"($, _, Backbone, TOCTemplateLi, TOCTemplateUl, TOCTemplate) =>"}}
runner / eslint and prettier: src/js/views/TOCView.js#L22
[eslint] reported by reviewdog 🐶 Unexpected var, use let or const instead. Raw Output: {"ruleId":"no-var","severity":2,"message":"Unexpected var, use let or const instead.","line":22,"column":3,"nodeType":"VariableDeclaration","messageId":"unexpectedVar","endLine":480,"endColumn":5,"fix":{"range":[887,890],"text":"let"}}
runner / eslint and prettier: src/js/views/TOCView.js#L466
[eslint] reported by reviewdog 🐶 Expected method shorthand. Raw Output: {"ruleId":"object-shorthand","severity":2,"message":"Expected method shorthand.","line":466,"column":7,"nodeType":"Property","messageId":"expectedMethodShorthand","endLine":470,"endColumn":8,"fix":{"range":[16587,16734],"text":"onClose () {\n // Make sure to stop scrollSpy listeners\n $(\"body\").off(\"activate\");\n $(window).off(\"resize\");\n }"}}
runner / eslint and prettier
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.