@adguard/aglint
Version:
Universal adblock filter list linter.
12 lines (11 loc) • 553 B
TypeScript
import { type Struct } from 'superstruct';
import { type LinterRuleConfigArray } from './common';
/**
* Superstruct schema for the linter rule config (used for validation)
*
* Possible values:
* - severity itself (number or string): `severity`
* - one-element array with severity as the first element: `[severity]`
* - n-element array with severity as the first element and other options as the rest: `[severity, ...options]`
*/
export declare const linterRuleConfigSchema: Struct<import("./severity").AnySeverity | LinterRuleConfigArray, null>;