summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCashew <52880648+Scrub1492@users.noreply.github.com>2023-12-27 12:57:31 +0700
committerGitHub <noreply@github.com>2023-12-27 05:57:31 +0000
commitff412d2010a41da47e37e86f0167452c2f9c72ca (patch)
tree55231e7a6d7280e77601b690c9e58e08f11aa396
parentadc17f4221a0e48da4450695c655632d37eee2a8 (diff)
add maxEOF to prevent multiple end of file lines (#454)
-rw-r--r--.eslintrc.json3
-rw-r--r--types/ext/script-manager.d.ts1
-rw-r--r--types/test/dom-text-scanner.d.ts1
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;
};
};
-