David
David
I suggest implementing a command that resolves the linter configuration for a given path and prints it to the console in JSON / YAML format. For example: ```bash aglint --print-config...
I think it is worth considering compiling a guideline for Adblock Filter Lists. In my opinion, there are two main groups of policies: - Syntactic / formatting specifications - Application...
> [!NOTE] > Average users who use the built-in list of adblockers do not need to do anything with this change, it will happen automatically with the next update. >...
```adblock [$domain=/example[0-9]\.(com|org)/]##.ad ! ↑ ! this closing square bracket falsely considered as the end of the modifier block ``` ```adblock [$domain=/example\d{1,}\.(com|org)/]##.ad ! ↑ ! this comma falsely considered as a...
AGLint config files can be validated in the VSCode editor if the following field is filled in the `package.json` file of the extension: https://code.visualstudio.com/api/references/contribution-points#contributes.jsonValidation If we switch to `zod`, we...
Reference: https://github.com/AdguardTeam/tsurlfilter/issues/127 Show screenshot 
Reference: https://github.com/AdguardTeam/VscodeAdblockSyntax/issues/137
Since there are many functions available in AGTree, we may can add a CLI at some point. Here are some examples of what it can do: - show rule AST...
Extended CSS pseudo classes are mostly syntactically validated, so I recommend adding a linter rule that handles all edge cases, e.g validate value of `:matches-css`, `:xpath` or validate where `xpath`...