react-doctor 0.4.2-dev.7cf52d8 → 0.4.2-dev.829655c

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 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 in `doctor.config.ts`
46
+ ### 4. Configure rules
47
47
 
48
- Configure with a `doctor.config.ts` (or `.js`, `.mjs`, `.cjs`, `.json`, `.jsonc`) in your project root.
48
+ You can configure which rules to run and how to run them in `doctor.config.ts`.
49
49
 
50
- ```ts
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