Skip to content

Adjust priority of linting filters if proprocessor directives conditions are met #271

Description

@piquark6046

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

Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions