Skip to content

Add Practice Page for Supporting Color Contrast Settings #3865

Add Practice Page for Supporting Color Contrast Settings

Add Practice Page for Supporting Color Contrast Settings #3865

Triggered via pull request June 6, 2024 23:23
Status Failure
Total duration 25s
Artifacts

lint-js.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint-js: content/practices/high-contrast/high-contrast-practice.js#L3
Use the global form of 'use strict'
lint-js: content/practices/high-contrast/high-contrast-practice.js#L591
Replace `Math.pow((rgb1.r·-·rgb2.r)` with `(⏎····Math.pow(rgb1.r·-·rgb2.r`
lint-js: content/practices/high-contrast/high-contrast-practice.js#L592
Replace `((rgb1.g·-·rgb2.g)` with `(rgb1.g·-·rgb2.g`
lint-js: content/practices/high-contrast/high-contrast-practice.js#L593
Replace `((rgb1.b·-·rgb2.b),·2` with `(rgb1.b·-·rgb2.b,·2)⏎··`
lint-js: content/practices/high-contrast/high-contrast-practice.js#L607
Replace `·(systemColorName,·colorHex)·{⏎` with `(systemColorName,·colorHex)·{`
lint-js: content/practices/high-contrast/high-contrast-practice.js#L624
Replace `(colorHex.substring(1,2)·===·colorHex.substring(3,4)` with `⏎····colorHex.substring(1,·2)·===·colorHex.substring(3,·4`
lint-js: content/practices/high-contrast/high-contrast-practice.js#L625
Replace `······(colorHex.substring(1,2)·===·colorHex.substring(5,6)))·{⏎` with `····colorHex.substring(1,·2)·===·colorHex.substring(5,·6)⏎··)·{`
lint-js: content/patterns/dialog-modal/examples/js/dialog.js#L87
JSDoc @returns declaration present but return expression not available in function