From ff412d2010a41da47e37e86f0167452c2f9c72ca Mon Sep 17 00:00:00 2001 From: Cashew <52880648+Scrub1492@users.noreply.github.com> Date: Wed, 27 Dec 2023 12:57:31 +0700 Subject: add maxEOF to prevent multiple end of file lines (#454) --- .eslintrc.json | 3 ++- types/ext/script-manager.d.ts | 1 - types/test/dom-text-scanner.d.ts | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index 6de43e2d..af9f22b4 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -405,7 +405,8 @@ "no-multiple-empty-lines": [ "error", { - "max": 1 + "max": 1, + "maxEOF": 0 } ], "no-undef": "off", diff --git a/types/ext/script-manager.d.ts b/types/ext/script-manager.d.ts index c82fa9cb..57b9ee06 100644 --- a/types/ext/script-manager.d.ts +++ b/types/ext/script-manager.d.ts @@ -53,4 +53,3 @@ export type ContentScriptInjectionDetails = { js?: string[]; urlRegex: RegExp | null; }; - diff --git a/types/test/dom-text-scanner.d.ts b/types/test/dom-text-scanner.d.ts index 362a7eb5..988cb690 100644 --- a/types/test/dom-text-scanner.d.ts +++ b/types/test/dom-text-scanner.d.ts @@ -29,4 +29,3 @@ export type TestData = { remainder?: number; }; }; - -- cgit v1.2.3