Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
tomsaleeba committed Nov 13, 2023
1 parent 825ea3b commit b074fb4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
4 changes: 2 additions & 2 deletions tampermonkey-script.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b074fb4

Please sign in to comment.