AdguardTeam / AdguardTeam/AGLint

Add linter rule detecting contradictory or inconsistent modifiers

オープン
#262 コメント 0 件 リアクション 1 件 担当者 1 名 @maximtop が担当を希望しています GitHub で見る
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 はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。