Skip to content

Commit

Permalink
fix(useTimer): lint rule changed
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamincanac committed May 2, 2022
1 parent cc561f9 commit 0e18526
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/composables/useTimer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export function useTimer (cb: (...args: unknown[]) => any, interval: number) {
timer = setTimeout(() => {
timer = null
startTime.value = null
// eslint-disable-next-line node/no-callback-literal
// eslint-disable-next-line n/no-callback-literal
cb(...args)
}, remaining.value) as unknown as number
}
Expand Down

0 comments on commit 0e18526

Please sign in to comment.