diff --git a/.eslintrc.js b/.eslintrc.js index ec394f3..9e3f523 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -10,7 +10,9 @@ module.exports = { 'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off', 'no-var': 2, 'prefer-const': 2, - 'no-param-reassign': 'off' + 'no-use-before-define': 'off', + 'no-underscore-dangle': 'off', + 'no-param-reassign': 'off', }, globals: { document: 'readonly', diff --git a/tampermonkey-script.js b/tampermonkey-script.js index cc4c867..153aca8 100644 --- a/tampermonkey-script.js +++ b/tampermonkey-script.js @@ -282,12 +282,12 @@ function skipSurvey() { clickBtnIfVisible('ytp-ad-skip-button ytp-button', 'skip survey') } -function skipPremiumTrial() { // this may be no longer relevant now +function skipPremiumTrial() { + // this may be no longer relevant now const niceName = 'Skip trial' clickBtnIfVisibleQS('#button[aria-label="Skip trial"]', niceName) } - function premiumNoThanks() { const niceName = 'No thanks premium' clickBtnIfVisibleQS('ytd-mealbar-promo-renderer #dismiss-button', niceName)