Fix warnings

This commit is contained in:
Jackson Harper
2022-03-02 19:49:10 -08:00
parent 9206230659
commit e660e41ed5
3 changed files with 3 additions and 0 deletions

View File

@ -3,6 +3,7 @@ import { DOMWindow } from 'jsdom'
export class AxiosHandler {
name = 'axios'
// eslint-disable-next-line @typescript-eslint/no-unused-vars
shouldPrehandle = (url: URL, _dom: DOMWindow): boolean => {
const host = this.name + '.com'
// check if url ends with axios.com

View File

@ -3,6 +3,7 @@ import { DOMWindow } from 'jsdom'
export class GolangHandler {
name = 'golangweekly'
// eslint-disable-next-line @typescript-eslint/no-unused-vars
shouldPrehandle = (url: URL, _dom: DOMWindow): boolean => {
const host = this.name + '.com'
// check if url ends with golangweekly.com

View File

@ -3,6 +3,7 @@ import { DOMWindow } from 'jsdom'
export class WikipediaHandler {
name = 'wikipedia'
// eslint-disable-next-line @typescript-eslint/no-unused-vars
shouldPrehandle = (url: URL, _dom: DOMWindow): boolean => {
return url.hostname.endsWith('wikipedia.org')
}