Skip to content

Plugin check UX improvement for results #149

Plugin check UX improvement for results

Plugin check UX improvement for results #149

Triggered via pull request November 28, 2023 06:04
Status Failure
Total duration 27s
Artifacts

js-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Lint: assets/js/plugin-check-admin.js#L113
Replace `(·resultsContainer.innerHTML·!==·''·)` with `·(·resultsContainer.innerHTML·!==·''·)·`
Lint: assets/js/plugin-check-admin.js#L114
Replace `·'<div><button·style="margin-top:1.33em;"·class="button·button-primary·clollaps-all"·data-state="open">Clollaps·All</button></div>'·+·` with `⏎↹↹↹↹'<div><button·style="margin-top:1.33em;"·class="button·button-primary·clollaps-all"·data-state="open">Clollaps·All</button></div>'·+⏎↹↹↹↹`
Lint: assets/js/plugin-check-admin.js#L477
Delete `↹`
Lint: assets/js/plugin-check-admin.js#L479
Replace `'click',·function(e` with `·'click',·function·(·e·`
Lint: assets/js/plugin-check-admin.js#L481
'button' is never reassigned. Use 'const' instead
Lint: assets/js/plugin-check-admin.js#L482
Delete `↹↹`
Lint: assets/js/plugin-check-admin.js#L484
Replace `(·button.classList.contains('collapse-btn')·)` with `·(·button.classList.contains(·'collapse-btn'·)·)·`
Lint: assets/js/plugin-check-admin.js#L485
Unexpected var, use let or const instead
Lint: assets/js/plugin-check-admin.js#L485
Replace `'.plugin-check__results-heading'` with `·'.plugin-check__results-heading'·`
Lint: assets/js/plugin-check-admin.js#L486
Unexpected var, use let or const instead