react-doctor 0.2.14-dev.7b4ddf7 → 0.2.14-dev.9b64d98
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 +11 -0
- package/dist/cli.js +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -71,6 +71,17 @@ React Doctor scans the files changed in the pull request, emits inline annotatio
|
|
|
71
71
|
|
|
72
72
|
[Add GitHub Action →](https://github.com/marketplace/actions/react-doctor)
|
|
73
73
|
|
|
74
|
+
### 4. Configure rules in `react-doctor.config.json`
|
|
75
|
+
|
|
76
|
+
Point the `$schema` key at `https://react.doctor/schema/config.json` to get autocomplete, hover docs, and typo warnings for every option in any editor that understands JSON Schema.
|
|
77
|
+
|
|
78
|
+
```jsonc
|
|
79
|
+
{
|
|
80
|
+
"$schema": "https://react.doctor/schema/config.json",
|
|
81
|
+
"lint": true,
|
|
82
|
+
}
|
|
83
|
+
```
|
|
84
|
+
|
|
74
85
|
## Contributing
|
|
75
86
|
|
|
76
87
|
[Issues welcome!](https://github.com/millionco/react-doctor/issues)
|
package/dist/cli.js
CHANGED
|
@@ -6680,7 +6680,7 @@ const resolveOxlintNodeEffect = (isLintEnabled, isQuiet) => Effect.gen(function*
|
|
|
6680
6680
|
const resolveOxlintNode = (isLintEnabled, isQuiet) => Effect.runPromise(resolveOxlintNodeEffect(isLintEnabled, isQuiet).pipe(Effect.provide(NodeResolver.layerNode)));
|
|
6681
6681
|
//#endregion
|
|
6682
6682
|
//#region src/cli/utils/version.ts
|
|
6683
|
-
const VERSION = "0.2.14-dev.
|
|
6683
|
+
const VERSION = "0.2.14-dev.9b64d98";
|
|
6684
6684
|
//#endregion
|
|
6685
6685
|
//#region src/inspect.ts
|
|
6686
6686
|
const silentConsole = makeNoopConsole();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-doctor",
|
|
3
|
-
"version": "0.2.14-dev.
|
|
3
|
+
"version": "0.2.14-dev.9b64d98",
|
|
4
4
|
"description": "Diagnose and fix React codebases for security, performance, correctness, accessibility, bundle-size, and architecture issues",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"accessibility",
|
|
@@ -58,14 +58,14 @@
|
|
|
58
58
|
"oxlint": "^1.66.0",
|
|
59
59
|
"prompts": "^2.4.2",
|
|
60
60
|
"typescript": ">=5.0.4 <7",
|
|
61
|
-
"oxlint-plugin-react-doctor": "0.2.14-dev.
|
|
61
|
+
"oxlint-plugin-react-doctor": "0.2.14-dev.9b64d98"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
64
|
"@types/prompts": "^2.4.9",
|
|
65
65
|
"commander": "^14.0.3",
|
|
66
66
|
"ora": "^9.4.0",
|
|
67
|
-
"@react-doctor/
|
|
68
|
-
"@react-doctor/
|
|
67
|
+
"@react-doctor/core": "0.2.14",
|
|
68
|
+
"@react-doctor/api": "0.2.14"
|
|
69
69
|
},
|
|
70
70
|
"engines": {
|
|
71
71
|
"node": "^20.19.0 || >=22.12.0"
|