Skip to content

Commit

Permalink
.eslintignore -> .gitignore, no-unused-vars: ignore args starting with _
Browse files Browse the repository at this point in the history
  • Loading branch information
vogler committed Nov 7, 2023
1 parent dec0b51 commit 2eaf6f0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .eslintignore
1 change: 1 addition & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,6 @@ module.exports = {
},
'rules': {
'semi': 'error',
'no-unused-vars': ["error", { "argsIgnorePattern": "^_" }],
},
};
1 change: 1 addition & 0 deletions epic-games.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ if (!cfg.debug) context.setDefaultTimeout(cfg.timeout);

const page = context.pages().length ? context.pages()[0] : await context.newPage(); // should always exist
// console.debug('userAgent:', await page.evaluate(() => navigator.userAgent));
// eslint-disable-next-line no-undef
if (cfg.debug) console.debug(await page.evaluate(() => window.screen));
if (cfg.record && cfg.debug) {
// const filter = _ => true;
Expand Down

0 comments on commit 2eaf6f0

Please sign in to comment.