We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
loadESLint
cwd
1 parent 8555ad9 commit 6e79ac7Copy full SHA for 6e79ac7
docs/src/integrate/nodejs-api.md
@@ -481,9 +481,6 @@ const { loadESLint } = require("eslint");
481
// loads the default ESLint that the CLI would use based on process.cwd()
482
const DefaultESLint = await loadESLint();
483
484
-// loads the default ESLint that the CLI would use based on the provided cwd
485
-const CwdDefaultESLint = await loadESLint({ cwd: "/foo/bar" });
486
-
487
// loads the flat config version specifically
488
const FlatESLint = await loadESLint({ useFlatConfig: true });
489
0 commit comments