Skip to content

Commit 2c2e35c

Browse files
Naturalclarfacebook-github-bot
authored andcommitted
Add community-eslint-plugin to eslint-config dependency (#27680)
Summary: Added `react-native-community/eslint-plugin` as a dependency for `react-native-community/eslint-config` The newly published eslint-config has `react-native-community/eslint-plugin` in its `.eslintrc`, but it's not listed under dependency, so when I try to use it in a community package, I'd have to install both `eslint-config` and `eslint-plugin`. It would be nice to just be able to install `eslint-config` and extend that without additional package listed under devDependency. ## Changelog [General] [Changed] - Added `react-native-community/eslint-plugin` as a dependency for `react-native-community/eslint-config` Pull Request resolved: #27680 Differential Revision: D19287051 Pulled By: cpojer fbshipit-source-id: 3aea54def7fb4598a21bfc087cc7938ce0662a59
1 parent 8881376 commit 2c2e35c

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

packages/eslint-config-react-native-community/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"url": "[email protected]:facebook/react-native.git"
1010
},
1111
"dependencies": {
12+
"@react-native-community/eslint-plugin": "^1.0.0",
1213
"@typescript-eslint/eslint-plugin": "^1.5.0",
1314
"@typescript-eslint/parser": "^1.5.0",
1415
"babel-eslint": "10.0.3",

packages/eslint-config-react-native-community/yarn.lock

+5
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,11 @@
9090
lodash "^4.17.11"
9191
to-fast-properties "^2.0.0"
9292

93+
"@react-native-community/eslint-plugin@^1.0.0":
94+
version "1.0.0"
95+
resolved "https://registry.yarnpkg.com/@react-native-community/eslint-plugin/-/eslint-plugin-1.0.0.tgz#ae9a430f2c5795debca491f15a989fce86ea75a0"
96+
integrity sha512-GLhSN8dRt4lpixPQh+8prSCy6PYk/MT/mvji/ojAd5yshowDo6HFsimCSTD/uWAdjpUq91XK9tVdTNWfGRlKQA==
97+
9398
"@typescript-eslint/eslint-plugin@^1.5.0":
9499
version "1.5.0"
95100
resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-1.5.0.tgz#85c509bcfc2eb35f37958fa677379c80b7a8f66f"

0 commit comments

Comments
 (0)