react-doctor 0.4.2 → 0.5.0-dev.4aba728
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/LICENSE +1 -1
- package/README.md +4 -23
- package/dist/cli.js +3755 -1258
- package/dist/index.d.ts +57 -0
- package/dist/index.js +2018 -96
- package/dist/lsp.js +2075 -165
- package/dist/skills/react-doctor/SKILL.md +2 -2
- package/dist/skills/{doctor-explain/SKILL.md → react-doctor/references/explain.md} +6 -9
- package/package.json +7 -7
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -41,32 +41,13 @@ Works with Claude Code, Cursor, Codex, OpenCode, and many more.
|
|
|
41
41
|
|
|
42
42
|
React Doctor CI (GitHub Actions) reviews every pull request automatically and reports only the issues your change introduced, not your existing backlog.
|
|
43
43
|
|
|
44
|
-
[Add GitHub Action →](https://react.doctor/ci)
|
|
44
|
+
[Add GitHub Action →](https://react.doctor/docs/ci-and-prs/github-actions-setup)
|
|
45
45
|
|
|
46
|
-
### 4. Configure rules
|
|
46
|
+
### 4. Configure rules
|
|
47
47
|
|
|
48
|
-
|
|
48
|
+
You can configure which rules to run and how to run them in `doctor.config.ts`.
|
|
49
49
|
|
|
50
|
-
|
|
51
|
-
// doctor.config.ts
|
|
52
|
-
import { defineConfig } from "react-doctor/api";
|
|
53
|
-
|
|
54
|
-
export default defineConfig({
|
|
55
|
-
lint: true,
|
|
56
|
-
rules: {
|
|
57
|
-
"react-doctor/no-array-index-as-key": "off",
|
|
58
|
-
},
|
|
59
|
-
});
|
|
60
|
-
```
|
|
61
|
-
|
|
62
|
-
Prefer JSON? Use `doctor.config.json`:
|
|
63
|
-
|
|
64
|
-
```jsonc
|
|
65
|
-
{
|
|
66
|
-
"$schema": "https://react.doctor/schema/config.json",
|
|
67
|
-
"lint": true,
|
|
68
|
-
}
|
|
69
|
-
```
|
|
50
|
+
[Learn more →](https://react.doctor/docs/configuration/config-files)
|
|
70
51
|
|
|
71
52
|
## Telemetry
|
|
72
53
|
|