Skip to content

Commit 431134b

Browse files
committed
📚docs(docs): 更新使用文档
1 parent 1821a15 commit 431134b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ eslintFix()
106106
// ./index.ts
107107
import { eslintFix, cwd, esLintOptions } from "code-genius";
108108

109-
await eslintFix(cwd, { eslintrc, paths: path });
109+
await eslintFix(cwd, esLintOptions);
110110

111111
// 运行
112112
npx esno index.ts

0 commit comments

Comments
 (0)