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
This method finds the configuration file that this `ESLint` instance would use based on the options passed to the constructor.
269
+
270
+
#### Parameters
271
+
272
+
-`filePath` (`string`)<br>
273
+
Optional. The path of a file for which to find the associated config file. If omitted, ESLint determines the config file based on the current working directory of this instance.
274
+
275
+
#### Return Value
276
+
277
+
- (`Promise<string | undefined>`)<br>
278
+
The promise that will be fulfilled with the absolute path to the config file being used, or `undefined` when no config file is used (for example, when `overrideConfigFile: true` is set).
0 commit comments