class InvertAllowTransformation

Transformation that inverts blocking rules to allow rules. Adds @@ prefix to non-comment, non-hosts, non-allow rules.

Properties

readonly
name: string

Human-readable name of the transformation

The transformation type identifier

Methods

executeSync(rules: string[]): string[]

Inverts blocking rules to allow rules.

Usage

import { InvertAllowTransformation } from ".";