David

Results 84 issues of David

When the linter extension is loaded, we should print to the output console which config files are used. Reference: https://github.com/ameshkov/VscodeAdblockSyntax/pull/63#discussion_r1173658908

enhancement

I've noticed that the library exports several helpful functions, such as `getDomain` and `getHostname`. Following this pattern, I would suggest adding `getIp` or export the `isIp` function

https://github.com/typicode/husky/releases/tag/v9.0.1

documentation
Status: Resolved
Priority: P4
Resolution: Fixed

For example: https://github.com/AdguardTeam/tsurlfilter/blob/4276bdfb494cbf704ba41ec6b07c4eac4426b430/packages/tsurlfilter/src/rules/cosmetic-rule.ts#L71-L115 Pseudo classes should be specified via the rule configuration

T: Linter rule
feature request
Priority: P4

We already have a [basic domain validator in AGTree](https://github.com/AdguardTeam/tsurlfilter/blob/master/packages/agtree/src/utils/domain.ts). This is used to [validate the domain list of the cosmetic rule](https://github.com/AdguardTeam/AGLint/blob/85794436d94bb8f34d22aa4125f0ae8133b29a2d/src/linter/rules/invalid-domain-list.ts#L23) or the value of the `$domain` modifier. I recommend...

enhancement
T: Linter rule
Priority: P4

There are cases where something is just misspelled, like the modifier name: `scipt` instead of `script`. In this case, the provided modifier name is very similar to the name of...

enhancement
Priority: P4

We need to implement a caching mechanism that allows us to check only the changed files. For example, writing information to `.aglintcache` as ESLint does. See https://eslint.org/docs/latest/use/command-line-interface#caching In addition, we...

feature request
Priority: P4

In this issue, we can collect the main linter rule ideas. A linter rule basically targets a specific problem and the rules can be enabled / disabled individually in the...

enhancement
help wanted
question
P: High
Status: In progress
T: Linter
T: Linter rule

If a linter rule is violated, it's possible to correct the issue in certain cases. As it stands, the linter rule API only provides a basic fix feature. However, there's...

feature request
Priority: P4

- For example, in the following case, the rule is valid, so the disable comment is unnecessary: ```adblock ! aglint-disable-next-line example.com##.ad ``` ↓↓↓ should be fixed as ↓↓↓ ```adblock example.com##.ad...

feature request
Priority: P4