@adguard/aglint
Version:
Universal adblock filter list linter.
30 lines (29 loc) • 1.21 kB
TypeScript
export declare const CONFIG_FILE = "aglint.config";
export declare const RC_CONFIG_FILE = ".aglintrc";
export declare const EXT_JSON = ".json";
export declare const EXT_YAML = ".yaml";
export declare const EXT_YML = ".yml";
export declare const JSON_CONFIG_FILE_NAME = "aglint.config.json";
export declare const YAML_CONFIG_FILE_NAME = "aglint.config.yaml";
export declare const YML_CONFIG_FILE_NAME = "aglint.config.yml";
export declare const JSON_RC_CONFIG_FILE_NAME = ".aglintrc.json";
export declare const YAML_RC_CONFIG_FILE_NAME = ".aglintrc.yaml";
export declare const YML_RC_CONFIG_FILE_NAME = ".aglintrc.yml";
/**
* Possible names of the config file
*/
export declare const CONFIG_FILE_NAMES: Set<string>;
/**
* Name of the ignore file
*/
export declare const IGNORE_FILE_NAME = ".aglintignore";
/**
* Supported file extensions for lintable files. Text is the most important one, but we also
* support other possible extensions, which may occur in some cases.
*/
export declare const SUPPORTED_EXTENSIONS: Set<string>;
/**
* Problematic paths that should be ignored by default. This is essential to provide a good
* experience for the user.
*/
export declare const PROBLEMATIC_PATHS: string[];