feat: ESLint Flat Config (v9 support #2229) (#2426)

* Flat config

* undo accidental formatting changes

* remove extra newline
This commit is contained in:
Aiden
2024-09-19 08:19:41 -04:00
committed by GitHub
parent 7c983df6f4
commit 6105821a94
8 changed files with 269 additions and 271 deletions

View File

@ -8,7 +8,6 @@ const ignored = {
function overrideAddEventListener() {
// YO WHAT ARE YOU DOING NOW?!?!
// Save native addEventListener
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-expect-error - We know what we're doing
// eslint-disable-next-line @typescript-eslint/unbound-method
Element.prototype._addEventListener = Element.prototype.addEventListener;

View File

@ -16,7 +16,6 @@ export const [isFetching, setIsFetching] = createSignal(false);
export const [hadSecondAttempt, setHadSecondAttempt] = createSignal(false);
// prettier-ignore
export const [differentDuration, setDifferentDuration] = createSignal(false);
// eslint-disable-next-line prefer-const
export const extractTimeAndText = (
line: string,