react-doctor 0.8.1-dev.fc1b3a3 → 0.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -14
- package/dist/cli.js +209 -1129
- package/dist/index.d.ts +15 -38
- package/dist/index.js +99 -546
- package/dist/lsp.js +99 -546
- package/dist/skills/react-doctor/SKILL.md +0 -5
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -27,17 +27,7 @@ npx react-doctor@latest
|
|
|
27
27
|
|
|
28
28
|
https://github.com/user-attachments/assets/07cc88d9-9589-44c3-aa73-5d603cb1c570
|
|
29
29
|
|
|
30
|
-
### 2.
|
|
31
|
-
|
|
32
|
-
Use the design command when you only want UI composition, typography, interaction, accessibility, and motion findings:
|
|
33
|
-
|
|
34
|
-
```bash
|
|
35
|
-
npx react-doctor@latest design
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
This activates the complete design rule family, including focused rules that stay opt-in during a general health scan, and skips unrelated dead-code, supply-chain, custom-plugin, and health-score passes. It accepts the normal scan flags, including `--scope`, `--project`, `--verbose`, and `--json`.
|
|
39
|
-
|
|
40
|
-
### 3. Install for agents
|
|
30
|
+
### 2. Install for agents
|
|
41
31
|
|
|
42
32
|
Once you have an audit, you can install the skill for your coding agent to learn from the issues and fix them in the future.
|
|
43
33
|
|
|
@@ -47,7 +37,7 @@ npx react-doctor@latest install
|
|
|
47
37
|
|
|
48
38
|
Works with Claude Code, Cursor, Codex, OpenCode, and many more.
|
|
49
39
|
|
|
50
|
-
###
|
|
40
|
+
### 3. Run in CI
|
|
51
41
|
|
|
52
42
|
React Doctor reviews every pull request and reports only the issues your change introduced, not your existing backlog. Set it up with one command:
|
|
53
43
|
|
|
@@ -59,13 +49,13 @@ This adds the workflow, scans every pull request, and posts a summary comment. C
|
|
|
59
49
|
|
|
60
50
|
[CI docs →](https://react.doctor/ci)
|
|
61
51
|
|
|
62
|
-
###
|
|
52
|
+
### 4. Configure rules
|
|
63
53
|
|
|
64
54
|
You can configure which rules to run and how to run them in `doctor.config.ts`.
|
|
65
55
|
|
|
66
56
|
[Learn more →](https://react.doctor/docs/configuration/config-files)
|
|
67
57
|
|
|
68
|
-
###
|
|
58
|
+
### 5. Consume JSON
|
|
69
59
|
|
|
70
60
|
Use `--json` for stdout or `--json-out <path>` for a file. The default
|
|
71
61
|
`schemaVersion: 3` report includes deterministic diagnostic IDs and exact
|