@adguard/agtree
Version:
Tool set for working with adblock filter lists
25 lines (23 loc) • 614 B
JavaScript
/*
* AGTree v4.1.1 (build date: Thu, 23 Apr 2026 09:15:37 GMT)
* (c) 2026 Adguard Software Ltd.
* Released under the MIT license
* https://github.com/AdguardTeam/tsurlfilter/tree/master/packages/agtree#readme
*/
/**
* @file Common options for all parsers.
*/
/**
* Default parser options.
*/
const defaultParserOptions = Object.freeze({
tolerant: false,
isLocIncluded: true,
parseAbpSpecificRules: true,
parseUboSpecificRules: true,
includeRaws: true,
ignoreComments: false,
parseHostRules: false,
parseHtmlFilteringRuleBodies: false,
});
export { defaultParserOptions };