react-native-macos/packages/eslint-config-react-native-...
Dan Abramov ac87e90fa5 Update React Hooks rule
Summary:
Includes better support for optional chaining.

Changelog:
[General][Changed] - Updated the React Hooks ESLint Plugin

Reviewed By: rickhanlonii, trueadm

Differential Revision: D22479305

fbshipit-source-id: 08740449ea797ce0971ccae358eb7de1ae102d7d
2020-07-10 13:28:30 -07:00
..
README.md docs: mention prettier in eslint-config README (#28930) 2020-05-20 03:32:46 -07:00
index.js Add URLSearchParams and Headers to eslint globals (#27853) 2020-01-27 02:30:29 -08:00
package.json Update React Hooks rule 2020-07-10 13:28:30 -07:00
yarn.lock Update React Hooks rule 2020-07-10 13:28:30 -07:00

README.md

eslint-config-react-native-community

Version

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"
}