UNPKG

@adguard/aglint

Version:

Universal adblock filter list linter.

20 lines (19 loc) 515 B
import { type LinterRule } from '../common'; type RuleConfig = { 'regexp-patterns': string[]; }; /** * Concreting the storage type definition (the linter only provides a general * form where the value type is unknown). */ interface RuleStorage { /** * Array of all exclude patterns, in RegExp form. */ 'regexp-patterns': RegExp[]; } /** * Fill this description with a short description of the rule. */ export declare const NoExcludedRules: LinterRule<RuleStorage, RuleConfig>; export {};