AdguardTeam / AdguardTeam/AGLint
Validate JS injection rules body
Aberta
Priority: P4
T: Linter rule
- Linguagem predominante
- TypeScript
- Estrelas
- 71
- Forks
- 4
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
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
Guia de contribuição
Avaliação
Esta issue ainda não foi avaliada.