Skip to content

Commit

Permalink
fix: eslint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
slowmove committed Mar 8, 2022
1 parent 955f987 commit f80f802
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 0 additions & 2 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
env:
browser: true
es6: true
jest/globals: true

extends:
- eslint-config-prettier
Expand All @@ -10,7 +9,6 @@ extends:

plugins:
- prettier
- jest
- '@typescript-eslint'

globals:
Expand Down
5 changes: 1 addition & 4 deletions src/VideoEventFilter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,7 @@ export class VideoEventFilter extends EmitterBaseClass {
}

private setupEventListeners(): void {
this.videoElement.addEventListener(
"loadeddata",
this.onLoaded.bind(this)
);
this.videoElement.addEventListener("loadeddata", this.onLoaded.bind(this));
this.videoElement.addEventListener("playing", this.onPlaying.bind(this));
this.videoElement.addEventListener("pause", this.onPause.bind(this));
this.videoElement.addEventListener("seeking", this.onSeeking.bind(this));
Expand Down

0 comments on commit f80f802

Please sign in to comment.