Skip to content

Commit 9ce3362

Browse files
committed
Merge branch 'main' into 2.0.0-next
2 parents 36498f9 + 917d053 commit 9ce3362

File tree

4 files changed

+18
-3
lines changed

4 files changed

+18
-3
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
## v1.48.4 (2025-04-19)
2+
3+
## 🐞 Fixes
4+
5+
- fix: update fallback react version in settings to "19.1.0"
6+
7+
**Full Changelog**: https://github.com/Rel1cx/eslint-react/compare/v1.48.3...v1.48.4
8+
19
## v1.48.3 (2025-04-17)
210

311
### 🪄 Improvements

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.0.0-next.1
1+
2.0.0-next.1

apps/website/content/docs/changelog.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22
title: Changelog
33
---
44

5+
## v1.48.4 (2025-04-19)
6+
7+
## 🐞 Fixes
8+
9+
- fix: update fallback react version in settings to "19.1.0"
10+
11+
**Full Changelog**: https://github.com/Rel1cx/eslint-react/compare/v1.48.3...v1.48.4
12+
513
## v1.48.3 (2025-04-17)
614

715
### 🪄 Improvements

packages/shared/src/settings.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,6 @@ export const normalizeSettings = ({
261261
version,
262262
...rest
263263
}: ESLintReactSettings) => {
264-
const fallbackVersion = DEFAULT_ESLINT_REACT_SETTINGS.version;
265264
return {
266265
...rest,
267266
components: additionalComponents.map((component) => {
@@ -285,7 +284,7 @@ export const normalizeSettings = ({
285284
skipImportCheck,
286285
strict,
287286
version: match(version)
288-
.with(P.union(P.nullish, "", "detect"), () => getReactVersion(fallbackVersion))
287+
.with(P.union(P.nullish, "", "detect"), () => getReactVersion("19.1.0"))
289288
.otherwise(identity),
290289
} as const satisfies ESLintReactSettingsNormalized;
291290
};

0 commit comments

Comments
 (0)