react-native-macos/packages/eslint-config-react-native-...
Sonny Piers ff9def41ff Add URL to eslint globals. (#27674)
Summary:
Fix eslint complaining about URL not being defined.
Pull Request resolved: https://github.com/facebook/react-native/pull/27674

Differential Revision: D19296779

Pulled By: cpojer

fbshipit-source-id: a62efdf0a5ad40c9575b9fa0f94156f1574cb018
2020-01-06 21:51:34 -08:00
..
README.md Rename eslint config to 'eslint-config-react-native-community' (#23718) 2019-03-03 20:39:43 -08:00
index.js Add URL to eslint globals. (#27674) 2020-01-06 21:51:34 -08:00
package.json Add community-eslint-plugin to eslint-config dependency (#27680) 2020-01-06 01:17:27 -08:00
yarn.lock Add community-eslint-plugin to eslint-config dependency (#27680) 2020-01-06 01:17:27 -08:00

README.md

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