react-native-macos/packages/eslint-config-react-native-...
maltoze 35b6d2e52b Add FileReader to eslint globals (#30766)
Summary:
Fix eslint complaining about FileReader not being defined.

## 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] - Fix eslint complaining about FileReader not being defined.

Pull Request resolved: https://github.com/facebook/react-native/pull/30766

Reviewed By: TheSavior

Differential Revision: D26318564

Pulled By: PeteTheHeat

fbshipit-source-id: d08c040f872cca3cbb26e8bf753a1acb3931d294
2021-02-08 12:23:08 -08:00
..
README.md docs: mention prettier in eslint-config README (#28930) 2020-05-20 03:32:46 -07:00
index.js Add FileReader to eslint globals (#30766) 2021-02-08 12:23:08 -08:00
package.json (eslint-config): update eslint-plugin-react-native (#30350) 2020-12-14 06:12:34 -08:00
yarn.lock (eslint-config): update eslint-plugin-react-native (#30350) 2020-12-14 06:12:34 -08: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"
}