Skip to content

Add the eslint GitHub Action Workflow #1

Add the eslint GitHub Action Workflow

Add the eslint GitHub Action Workflow #1

Triggered via pull request May 31, 2024 03:09
Status Failure
Total duration 40s
Billable time 1m
Artifacts

eslint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
eslint: js/hidecss.js#L2
Replace `····function·showMe·` with `function·showMe`
eslint: js/hidecss.js#L2
'showMe' is defined but never used
eslint: js/hidecss.js#L3
Replace `⏎········var·chboxs·=·document.getElementsByName("mc_nuke_all_styles"` with `↹var·chboxs·=·document.getElementsByName('mc_nuke_all_styles'`
eslint: js/hidecss.js#L4
Unexpected var, use let or const instead
eslint: js/hidecss.js#L5
Replace `········var·vis·=·"none"` with `↹var·vis·=·'none'`
eslint: js/hidecss.js#L5
Unexpected var, use let or const instead
eslint: js/hidecss.js#L5
'vis' declared on line 11 column 19 is used outside of binding context
eslint: js/hidecss.js#L6
Replace `········for(var·i=0;i<chboxs.length;` with `↹for·(var·i·=·0;·i·<·chboxs.length;·`
eslint: js/hidecss.js#L6
All 'var' declarations must be at the top of the function scope
eslint: js/hidecss.js#L6
Unexpected var, use let or const instead