mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-09-29 16:57:00 +08:00
Add one more deps "@typescript-eslint/utils" to top level to be used in our own custom rules (also needed override if I didn't). Bug: none Change-Id: I130415d1ec5f096ca51200df3eb688dadd963d0f Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6343232 Reviewed-by: Benedikt Meurer <bmeurer@chromium.org> Commit-Queue: Nikolay Vitkov <nvitkov@chromium.org>
24 lines
781 B
JavaScript
24 lines
781 B
JavaScript
export const DEFAULT_CACHE_LOCATION = './.stylelintcache';
|
|
export const CACHE_STRATEGY_METADATA = 'metadata';
|
|
export const CACHE_STRATEGY_CONTENT = 'content';
|
|
export const DEFAULT_CACHE_STRATEGY = CACHE_STRATEGY_METADATA;
|
|
|
|
export const DEFAULT_IGNORE_FILENAME = '.stylelintignore';
|
|
|
|
export const DEFAULT_FORMATTER = 'string';
|
|
|
|
// NOTE: Partially based on `sysexits.h`.
|
|
export const EXIT_CODE_SUCCESS = 0;
|
|
export const EXIT_CODE_FATAL_ERROR = 1;
|
|
export const EXIT_CODE_LINT_PROBLEM = 2;
|
|
export const EXIT_CODE_INVALID_USAGE = 64;
|
|
export const EXIT_CODE_INVALID_CONFIG = 78;
|
|
|
|
export const RULE_NAME_ALL = 'all';
|
|
|
|
export const SEVERITY_ERROR = 'error';
|
|
export const SEVERITY_WARNING = 'warning';
|
|
export const DEFAULT_SEVERITY = SEVERITY_ERROR;
|
|
|
|
export const DEFAULT_FIX_MODE = 'lax';
|