mirror of
https://github.com/SukkaW/Surge.git
synced 2025-12-13 09:40:34 +08:00
Chore: Make ESLint Happy
This commit is contained in:
parent
5391d85c90
commit
1e5a0a8f48
@ -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 /** # */) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user