eslint-plugin-react-doctor 0.2.1 → 0.2.2
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 +6 -1
- package/dist/index.js +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -5,6 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
ESLint plugin for [React Doctor](https://react.doctor). Diagnoses React codebases for security, performance, correctness, accessibility, bundle-size, and architecture issues.
|
|
7
7
|
|
|
8
|
+
The set now includes 100 rules ported from
|
|
9
|
+
[`oxc-project/oxc`](https://github.com/oxc-project/oxc)'s React +
|
|
10
|
+
jsx-a11y linting plugins, exposed alongside React Doctor's own rules
|
|
11
|
+
under the `react-doctor/*` namespace.
|
|
12
|
+
|
|
8
13
|
This package owns the ESLint adapter for React Doctor's rule set. The underlying rules ship in [`oxlint-plugin-react-doctor`](https://npmjs.com/package/oxlint-plugin-react-doctor) (auto-installed as a transitive dependency). The full diagnostic CLI lives in [`react-doctor`](https://npmjs.com/package/react-doctor) and pulls in this same rule set; install whichever fits your workflow.
|
|
9
14
|
|
|
10
15
|
## Install
|
|
@@ -52,7 +57,7 @@ Pick only the configs that match your stack. `recommended` is framework-agnostic
|
|
|
52
57
|
|
|
53
58
|
## Available rules
|
|
54
59
|
|
|
55
|
-
The full rule list lives in [`
|
|
60
|
+
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). Rules are namespaced under `react-doctor/*`.
|
|
56
61
|
|
|
57
62
|
To override a rule:
|
|
58
63
|
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-plugin-react-doctor",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "ESLint plugin for React Doctor: diagnose React codebases for security, performance, correctness, accessibility, bundle-size, and architecture issues",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"accessibility",
|
|
@@ -41,13 +41,13 @@
|
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"oxlint-plugin-react-doctor": "0.2.
|
|
44
|
+
"oxlint-plugin-react-doctor": "0.2.2"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@types/node": "^25.6.0"
|
|
48
48
|
},
|
|
49
49
|
"engines": {
|
|
50
|
-
"node": ">=22"
|
|
50
|
+
"node": ">=22.13.0"
|
|
51
51
|
},
|
|
52
52
|
"scripts": {
|
|
53
53
|
"dev": "vp pack --watch",
|