@adguard/aglint
Version:
Universal adblock filter list linter.
10 lines (9 loc) • 340 B
TypeScript
import { type LinterConfig } from './common';
/**
* Validates the AGLint linter config object using Superstruct.
*
* @param config Config object to validate.
*
* @throws If the config object is not valid according to the config schema.
*/
export declare function validateLinterConfig(config: unknown): asserts config is LinterConfig;