Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update eslint-config dependencies (#27085)
Summary: A couple of minor and patch updates to the `eslint-config` package, to avoid warnings and errors with the generated code of the latest RN version templates, such as: ``` warning "react-native-community/eslint-config > eslint-plugin-react@7.12.4" has incorrect peer dependency "eslint@^3.0.0 || ^4.0.0 || ^5.0.0". warning "react-native-community/eslint-config > eslint-plugin-react-native@3.6.0" has incorrect peer dependency "eslint@^3.17.0 || ^4 || ^5". ``` `yarn check` outputs the following errors: ``` error "react-native-community/eslint-config#eslint-plugin-react-native#eslint@^3.17.0 || ^4 || ^5" doesn't satisfy found match of "eslint@6.6.0" error "react-native-community/eslint-config#eslint-plugin-react#eslint@^3.0.0 || ^4.0.0 || ^5.0.0" doesn't satisfy found match of "eslint@6.6.0" ``` By adding the missing `"license"` field, from now on this also avoids the following warnings: ``` warning package.json: No license field warning react-native-community/eslint-config@0.0.6: No license field ``` ## Changelog [General] [Fixed] - Fix eslint-config peer dependency warnings Pull Request resolved: #27085 Test Plan: - Publish current `master` package locally (`0.0.6` is [not published](https://www.npmjs.com/package/react-native-community/eslint-config) yet!) - Create new RN 0.61.3 project, set `eslint-config` to local package, observe errors/warnings running `yarn`/`yarn check` - `yarn lint` passes cleanly - Update dependencies (as in this PR), republish locally - Update RN test project to new `eslint-config` package, **observe no more errors** - `yarn lint` still passes cleanly Differential Revision: D18298733 Pulled By: cpojer fbshipit-source-id: 9a550365521fbaa4b940bc8c02cbeb345d8900b6
- Loading branch information
1 parent
5df204b
commit 1353da5
Showing
2 changed files
with
110 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters