diff --git a/.changeset/ninety-toes-sip.md b/.changeset/ninety-toes-sip.md new file mode 100644 index 000000000..b1f8c39b5 --- /dev/null +++ b/.changeset/ninety-toes-sip.md @@ -0,0 +1,5 @@ +--- +"@rnx-kit/align-deps": patch +--- + +Tell users to migrate from `@react-native-community/eslint-config` to `@react-native/eslint-config` diff --git a/packages/align-deps/src/presets/banned.ts b/packages/align-deps/src/presets/banned.ts index 5b5af1075..e9b4333dc 100644 --- a/packages/align-deps/src/presets/banned.ts +++ b/packages/align-deps/src/presets/banned.ts @@ -13,6 +13,12 @@ export const bannedPackages: ExcludedPackage[] = [ reason: "This package was renamed to '@react-native-clipboard/clipboard' in 1.6.0. The new package is recommended in 0.64.", }, + { + name: "@react-native-community/eslint-config", + version: "*", + reason: + "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'.", + }, { name: "@react-native-community/masked-view", version: "*",