mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
de1a72acae
Summary: In monorepo environment, prettier-plugin in some editor load from nearest `node_modules`. Older version of eslint-config-react-native-community includes prettier v1 in their dependencies. It cause conflict of code style inside the monorepo. ## Changelog <!-- Help reviewers and the release process by writing your own changelog entry. For an example, see: https://github.com/facebook/react-native/wiki/Changelog --> [Internal] [Fixed] - move prettier to peerDependencies in eslint-config-react-native-community Pull Request resolved: https://github.com/facebook/react-native/pull/28637 Test Plan: I think it would be good with no plan to test. Reviewed By: yungsters Differential Revision: D30648134 Pulled By: charlesbdudley fbshipit-source-id: 6c01226d6e4cc37ddbc86be260563deb093758d0