oxlint-plugin-react-doctor 0.5.3 → 0.5.4-dev.f229c75
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 +2 -0
- package/dist/index.d.ts +2222 -80
- package/dist/index.js +1674 -189
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -56,6 +56,8 @@ npx oxlint .
|
|
|
56
56
|
|
|
57
57
|
The full rule list lives in [`rule-registry.ts`](https://github.com/millionco/react-doctor/blob/main/packages/oxlint-plugin-react-doctor/src/plugin/rule-registry.ts). All rules are namespaced under `react-doctor/*`.
|
|
58
58
|
|
|
59
|
+
Rules in the `security-scan` bucket are project-level project-wide file scans (leaked artifact secrets, permissive Firebase/Supabase rules, committed key material, …). They register metadata here but are no-ops under plain oxlint or ESLint — the [React Doctor CLI](https://npmjs.com/package/react-doctor) executes them over a whole-tree file walk during its scan.
|
|
60
|
+
|
|
59
61
|
Each rule can be set to `"error"`, `"warn"`, or `"off"`:
|
|
60
62
|
|
|
61
63
|
```jsonc
|