mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: This dependency upgrade ensures that this eslint config now supports the latest TypeScript syntaxes. ## Changelog [General] [Fixed] - Upgrade dependencies. Pull Request resolved: https://github.com/facebook/react-native/pull/29048 Test Plan: Try this new version of the plugin on your project. Reviewed By: GijsWeterings Differential Revision: D21879997 Pulled By: cpojer fbshipit-source-id: cb54c2b56361f7c20994d981c61826f7f50350de
eslint-config-react-native-community
Installation
yarn add --dev eslint prettier @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"
}