mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
869a976a5d
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/52844 Changelog: [Internal] Reviewed By: pieterv Differential Revision: D78787920 fbshipit-source-id: fc2582001ee6775f53b452dd3659e37521ea6387
@react-native/eslint-config
Installation
yarn add --dev eslint prettier @react-native/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"
}