Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
dharb committed Jan 16, 2025
1 parent 891b1a7 commit 2c671e4
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions scripts/rebuild-filterlist.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,7 @@ async function processDomainSpecificFilterList(listFileName) {
// Remove comments and network rules, which take a different format:
// ! at start of line indicates comment
// || at start of line indicates network rule
const filteredLines = lines.filter(
(line) =>
!line.startsWith('!') &&
!line.startsWith('||')
);
const filteredLines = lines.filter((line) => !line.startsWith('!') && !line.startsWith('||'));
// Dump rules into json structure for parsing
for (const rule of filteredLines) {
const splitRule = rule.split('##');
Expand Down

0 comments on commit 2c671e4

Please sign in to comment.