Skip to content

Commit df3fab4

Browse files
committed
fix
1 parent bdb0035 commit df3fab4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/react-doctor/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,16 +66,16 @@ import { diagnose } from "react-doctor/api";
6666

6767
const result = await diagnose("./path/to/your/react-project");
6868

69-
console.log(result.score); // { score: 82, label: "Good" } or null
69+
console.log(result.score); // { score: 82, label: "Good" } or null
7070
console.log(result.diagnostics); // Array of Diagnostic objects
71-
console.log(result.project); // Detected framework, React version, etc.
71+
console.log(result.project); // Detected framework, React version, etc.
7272
```
7373

7474
The `diagnose` function accepts an optional second argument:
7575

7676
```js
7777
const result = await diagnose(".", {
78-
lint: true, // run lint checks (default: true)
78+
lint: true, // run lint checks (default: true)
7979
deadCode: true, // run dead code detection (default: true)
8080
});
8181
```

0 commit comments

Comments
 (0)