Fix lint: guard browser globals and normalize indentation
All checks were successful
build-and-push / lint (push) Successful in 4s
build-and-push / sonar (push) Successful in 12s
build-and-push / docker (push) Successful in 1m12s

This commit is contained in:
nocci 2025-12-30 16:47:46 +00:00
parent 7ffc454e47
commit a477bb3327
2 changed files with 9 additions and 9 deletions

View file

@ -50,7 +50,7 @@ await page.setViewportSize({ width: cfg.width, height: cfg.height }); // workaro
// some debug info about the page (screen dimensions, user agent)
if (cfg.debug) {
// eslint-disable-next-line no-undef
/* global window, navigator */
const debugInfo = await page.evaluate(() => {
const { width, height, availWidth, availHeight } = window.screen;
return {