UNPKG

@adguard/aglint

Version:

Universal adblock filter list linter.

20 lines (18 loc) 558 B
/* * AGLint v3.0.0 (build date: Wed, 21 May 2025 13:24:14 GMT) * (c) 2025 AdGuard Software Ltd. * Released under the MIT license * https://github.com/AdguardTeam/AGLint#readme */ /** * We throw this error when we can't find a config file for the given directory. * It is easy to catch this error and show a nice error message to the user * when using the CLI tool. */ class NoConfigError extends Error { constructor(dir) { super(`No config file found for ${dir}`); this.name = 'NoConfigError'; } } export { NoConfigError };