oxlint-plugin-react-doctor 0.2.18-dev.87440ab → 0.2.18-dev.8e7fb33
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/dist/index.js +2 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9725,6 +9725,7 @@ const jsxNoConstructedContextValues = defineRule({
|
|
|
9725
9725
|
title: "Unstable context provider value",
|
|
9726
9726
|
tags: ["react-jsx-only"],
|
|
9727
9727
|
severity: "warn",
|
|
9728
|
+
disabledBy: ["react-compiler"],
|
|
9728
9729
|
recommendation: "Wrap the context value in `useMemo`, or move it outside the component.",
|
|
9729
9730
|
category: "Performance",
|
|
9730
9731
|
create: (context) => {
|
|
@@ -24850,6 +24851,7 @@ const preferModuleScopeStaticValue = defineRule({
|
|
|
24850
24851
|
tags: ["test-noise"],
|
|
24851
24852
|
severity: "warn",
|
|
24852
24853
|
category: "Architecture",
|
|
24854
|
+
disabledBy: ["react-compiler"],
|
|
24853
24855
|
recommendation: "Move the value above the component, at the top of the file. It doesn't use local state, so rebuilding it each update is wasted and makes it look new every time.",
|
|
24854
24856
|
create: (context) => ({ VariableDeclarator(node) {
|
|
24855
24857
|
if (!isNodeOfType(node.id, "Identifier")) return;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "oxlint-plugin-react-doctor",
|
|
3
|
-
"version": "0.2.18-dev.
|
|
3
|
+
"version": "0.2.18-dev.8e7fb33",
|
|
4
4
|
"description": "oxlint plugin for React Doctor: diagnose React codebases for security, performance, correctness, accessibility, bundle-size, and architecture issues",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"accessibility",
|