AdguardTeam / AdguardTeam/AGLint
Adjust priority of linting filters if proprocessor directives conditions are met
- Lenguaje dominante
- TypeScript
- Estrellas
- 70
- Forks
- 4
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
Any filters list has its own installation preference/ideal like that AdGuard filters lists are expected to be installed on AdGuard products and uBO's uAssets filters on uBlock Origin.
However, to partly/silently/fully support installation on a 3rd-party adblocker platform, each filters list can use proprocessor directives condition (`!#if`) that can override `platform`/`syntax` value of pre-existing AGLint config file.
However, current beta (`4.0.0-beta.3`) does not adjust priority of linting filters with any proprocessor directives condition.
For example, the attached screenshot shows that AGLint ignores `!#if (ext_ublock)` and follows `platforms: adg_any`. Therefore, I can see an error.
Screenshot
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.