Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6e79ac7

Browse files
authored
docs:loadESLint does not support optioncwd (#18641)
1 parent8555ad9 commit6e79ac7

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

‎docs/src/integrate/nodejs-api.md‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -481,9 +481,6 @@ const { loadESLint } = require("eslint");
481481
// loads the default ESLint that the CLI would use based on process.cwd()
482482
constDefaultESLint=awaitloadESLint();
483483

484-
// loads the default ESLint that the CLI would use based on the provided cwd
485-
constCwdDefaultESLint=awaitloadESLint({ cwd:"/foo/bar" });
486-
487484
// loads the flat config version specifically
488485
constFlatESLint=awaitloadESLint({ useFlatConfig:true });
489486

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp