Add the eslint
GitHub Action Workflow
#1
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
|