You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* The options with which to configure the ESLint instance.
77
-
* @typedef {Object} ESLintOptions
78
-
* @property {boolean} [allowInlineConfig] Enable or disable inline configuration comments.
79
-
* @property {Config|Array<Config>} [baseConfig] Base config, extended by all configs used with this instance
80
-
* @property {boolean} [cache] Enable result caching.
81
-
* @property {string} [cacheLocation] The cache file to use instead of .eslintcache.
82
-
* @property {"metadata" | "content"} [cacheStrategy] The strategy used to detect changed files.
83
-
* @property {number | "auto" | "off"} [concurrency] Maximum number of linting threads, "auto" to choose automatically, "off" for no multithreading.
84
-
* @property {string} [cwd] The value to use for the current working directory.
85
-
* @property {boolean} [errorOnUnmatchedPattern] If `false` then `ESLint#lintFiles()` doesn't throw even if no target files found. Defaults to `true`.
86
-
* @property {boolean|Function} [fix] Execute in autofix mode. If a function, should return a boolean.
87
-
* @property {string[]} [fixTypes] Array of rule types to apply fixes for.
88
-
* @property {string[]} [flags] Array of feature flags to enable.
89
-
* @property {boolean} [globInputPaths] Set to false to skip glob resolution of input file paths to lint (default: true). If false, each input file paths is assumed to be a non-glob path to an existing file.
90
-
* @property {boolean} [ignore] False disables all ignore patterns except for the default ones.
91
-
* @property {string[]} [ignorePatterns] Ignore file patterns to use in addition to config ignores. These patterns are relative to `cwd`.
92
-
* @property {Config|Array<Config>} [overrideConfig] Override config, overrides all configs used with this instance
93
-
* @property {boolean|string} [overrideConfigFile] Searches for default config file when falsy;
94
-
* doesn't do any config file lookup when `true`; considered to be a config filename
95
-
* when a string.
96
-
* @property {boolean} [passOnNoPatterns=false] When set to true, missing patterns cause
97
-
* the linting operation to short circuit and not report any failures.
98
-
* @property {Record<string,Plugin>} [plugins] An array of plugin implementations.
0 commit comments