AdguardTeam / AdguardTeam/AGLint
Add linter rule detecting contradictory or inconsistent modifiers
オープン
Priority: P4
T: Linter rule
- 主要言語
- TypeScript
- スター
- 70
- フォーク
- 4
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Certain filter rules may contain contradictory modifier combinations that make the rule logically inconsistent.
For example, the following rule uses the script modifier but also explicitly negates it:
```adblock
/foo.js^$script,~script
```
Suggestions can be added to remove A or B modifier
It is important that this case is not handled by the `no-duplicated-modifiers` rule, but by a dedicated linter rule specifically designed for this purpose.
コントリビューションガイド
評価
この issue はまだ評価されていません。