AdguardTeam / AdguardTeam/AGLint

Validate JS injection rules body

オープン
#256 コメント 1 件 リアクション 0 件 担当者 1 名 @maximtop が担当を希望しています GitHub で見る
Priority: P4 T: Linter rule
主要言語
TypeScript
スター
70
フォーク
4
PR マージ指標
30日以内にマージされた PR はありません

説明

Validate JS injection rules body with [acorn](https://www.npmjs.com/package/acorn).

So, from

```adblock
example.org#%#window.__gaq = undefined;
```

validate
```js
window.__gaq = undefined;
```

If this part is syntactically incorrect, acorn will simply throw an error.

ref: https://github.com/AdguardTeam/AGLint/issues/13#issuecomment-1420559391

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

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

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