AdguardTeam / AGLint

Universal adblock filter list linter
https://www.npmjs.com/package/@adguard/aglint
MIT License
51 stars 3 forks source link

Add a rule to check whether the filtering rule is too wide #187

Open ameshkov opened 1 year ago

ameshkov commented 1 year ago

We're relaxing validation rules in tsurlfilter and CoreLibs: https://github.com/AdguardTeam/CoreLibs/issues/1816

But it still makes sense to validate if a filtering rule match "too many" URLs.

Please take a look at the limitations that we had in place in CoreLibs: https://github.com/AdguardTeam/KnowledgeBase/pull/280/files