Skip to content

Commit 33c28a5

Browse files
committed
Bump React version from 19.1.0 to 19.2.0
1 parent 086c6bf commit 33c28a5

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

apps/website/content/docs/configuration/configure-analyzer.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export default [
1414
files: ["**/*.ts", "**/*.tsx"],
1515
settings: {
1616
"react-x": {
17-
version: "19.1.0", // React version for analysis
17+
version: "19.2.0", // React version for analysis
1818
// ...other properties
1919
},
2020
},
@@ -66,7 +66,7 @@ export default [
6666
files: ["**/*.ts", "**/*.tsx"],
6767
settings: {
6868
"react-x": {
69-
version: "19.1.0", // Specify the React version for semantic analysis (can be "detect" for auto-detection)
69+
version: "19.2.0", // Specify the React version for semantic analysis (can be "detect" for auto-detection)
7070
importSource: "react", // Customize the import source for the React module (defaults to "react")
7171
polymorphicPropName: "as", // Define the prop name used for polymorphic components (e.g., <Component as="div">)
7272
},

apps/website/content/docs/configuration/configure-analyzer.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* eslint-disable perfectionist/sort-objects */
12
import { TypeTable } from "fumadocs-ui/components/type-table";
23

34
import { Link } from "next-view-transitions";

packages/shared/src/settings.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ export const normalizeSettings = ({
154154
importSource,
155155
polymorphicPropName,
156156
version: match(version)
157-
.with(P.union(P.nullish, "", "detect"), () => getReactVersion("19.1.0"))
157+
.with(P.union(P.nullish, "", "detect"), () => getReactVersion("19.2.0"))
158158
.otherwise(identity),
159159
} as const satisfies ESLintReactSettingsNormalized;
160160
};

0 commit comments

Comments
 (0)