mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: Renamed `eslint-config-react-native` to `eslint-config-react-native-community`, due to the fact, that initial name is already taken on `npm`. Additionally, I added very simple `README.md` file, to prepare the package to be published. [General] [Changed] - Changed `eslint-config-react-native` name to `eslint-config-react-native-community` Pull Request resolved: https://github.com/facebook/react-native/pull/23718 Differential Revision: D14298553 Pulled By: cpojer fbshipit-source-id: bad5a42502ccdebf5f95d8217187be23bbf8f26c
390 B
390 B
eslint-config-react-native-community
Installation
yarn add --dev eslint @react-native-community/eslint-config
Note: We're using yarn to install deps. Feel free to change commands to use npm 3+ and npx if you like
Usage
Add to your eslint config (.eslintrc, or eslintConfig field in package.json):
{
"extends": "@react-native-community"
}