mirror of
https://github.com/SukkaW/Surge.git
synced 2026-01-29 01:51:52 +08:00
Chore: Make ESLint Happy
This commit is contained in:
@@ -21,6 +21,7 @@ export function processLine(line: string): string | null {
|
|||||||
if (line_0 === 35 /** # */) {
|
if (line_0 === 35 /** # */) {
|
||||||
if (trimmed.charCodeAt(1) !== 35 /** # */) {
|
if (trimmed.charCodeAt(1) !== 35 /** # */) {
|
||||||
// # Comment
|
// # Comment
|
||||||
|
// AdGuard Rule like #@.not_ad
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
if (trimmed.charCodeAt(2) === 35 /** # */ && trimmed.charCodeAt(3) === 35 /** # */) {
|
if (trimmed.charCodeAt(2) === 35 /** # */ && trimmed.charCodeAt(3) === 35 /** # */) {
|
||||||
|
|||||||
Reference in New Issue
Block a user