🔧 chore(workflows): add screenshot to ESLint globals
Some checks failed
build-and-push / lint (push) Successful in 8s
build-and-push / sonar (push) Failing after 0s
build-and-push / docker (push) Has been skipped

- add screenshot as a readonly global variable to ESLint configuration

♻️ refactor(epic-games): improve path resolution for screenshots

- replace resolve with path.resolve for better path management
This commit is contained in:
nocci 2026-01-08 15:43:30 +00:00
parent af90aa7c42
commit 370e3db206
2 changed files with 3 additions and 2 deletions

View file

@ -24,6 +24,7 @@ module.exports = {
'@stylistic/js',
],
globals: {
screenshot: 'readonly',
cfg: 'readonly',
URL_CLAIM: 'readonly',
COOKIES_PATH: 'readonly',