Skip to content

Commit 8083856

Browse files
authored
fix(align-deps): migrate from @react-native-community/eslint-config (#2918)
1 parent 4a765e4 commit 8083856

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.changeset/ninety-toes-sip.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@rnx-kit/align-deps": patch
3+
---
4+
5+
Tell users to migrate from `@react-native-community/eslint-config` to `@react-native/eslint-config`

packages/align-deps/src/presets/banned.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ export const bannedPackages: ExcludedPackage[] = [
1313
reason:
1414
"This package was renamed to '@react-native-clipboard/clipboard' in 1.6.0. The new package is recommended in 0.64.",
1515
},
16+
{
17+
name: "@react-native-community/eslint-config",
18+
version: "*",
19+
reason:
20+
"As of 'react-native' 0.72, you should use '@react-native/eslint-config' instead. Alternatively, if you're looking for an ESLint 9.x compatible config, try '@rnx-kit/eslint-plugin'.",
21+
},
1622
{
1723
name: "@react-native-community/masked-view",
1824
version: "*",

0 commit comments

Comments
 (0)