issues
search
AdguardTeam
/
AGLint
Universal adblock filter list linter
https://www.npmjs.com/package/@adguard/aglint
MIT License
51
stars
3
forks
source link
Throw error if the domain list ends with a separator
#149
Closed
scripthunter7
closed
1 year ago
scripthunter7
commented
1 year ago
Closes
https://github.com/AdguardTeam/AGLint/issues/143
Before parsing the domain list, a quick check is performed to detect this case, since it is pointless to parse the input until the end in this case
In the unit tests, I moved the invalid cases under a separate test case
Closes https://github.com/AdguardTeam/AGLint/issues/143