5558333c60
Summary: Landing D14472633 again which failed because of a metro-buck issue. Latest CLI requires `reactNativePath` to be explicitly set when `react-native` is not present under `node_modules` (which is the case when running from source). Fixes #23936 This PR also updates CLI to latest version and removes private calls to `findPlugins` (it's now exposed under public interface). We also remove custom `rn-cli.config.js` options that are no longer needed that we have `--reactNativePath`. I added them a month ago as a temporary workaround. [GENERAL] [FIXED] - Internal - Update to the latest CLI Pull Request resolved: https://github.com/facebook/react-native/pull/23940 Reviewed By: rickhanlonii Differential Revision: D14501686 Pulled By: cpojer fbshipit-source-id: c8dac71b3806d81c9d18b6d4a7e92d82962791f9 |
||
---|---|---|
.. | ||
README.md | ||
index.js | ||
package.json | ||
yarn.lock |
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"
}