Skip to content

Commit b2934c3

Browse files
Chris Bobberk-for-zulip
Chris Bobbe
authored andcommitted
eslint: Stop using react-native plugin.
In abc0432, we disabled the only rule that remained enabled from this plugin. So, remove the plugin. Leave the two existing commented-out lines to enable other rules, which describe how we'd like to potentially use them in the future. See: #3901 (comment)
1 parent a7bf4ac commit b2934c3

File tree

3 files changed

+1
-14
lines changed

3 files changed

+1
-14
lines changed

.eslintrc.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ extends:
66
- ./tools/formatting.eslintrc.yaml
77

88
plugins:
9-
- react-native
9+
# - react-native
1010
- jest
1111
- flowtype
1212

package.json

-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@
9797
"eslint-plugin-jsx-a11y": "^6.2.3",
9898
"eslint-plugin-prettier": "^3.1.0",
9999
"eslint-plugin-react": "^7.14.2",
100-
"eslint-plugin-react-native": "^3.7.0",
101100
"eslint-plugin-spellcheck": "0.0.14",
102101
"flow-bin": "^0.92.0",
103102
"flow-coverage-report": "^0.6.0",

yarn.lock

-12
Original file line numberDiff line numberDiff line change
@@ -3344,18 +3344,6 @@ eslint-plugin-prettier@^3.1.0:
33443344
dependencies:
33453345
prettier-linter-helpers "^1.0.0"
33463346

3347-
eslint-plugin-react-native-globals@^0.1.1:
3348-
version "0.1.2"
3349-
resolved "https://registry.yarnpkg.com/eslint-plugin-react-native-globals/-/eslint-plugin-react-native-globals-0.1.2.tgz#ee1348bc2ceb912303ce6bdbd22e2f045ea86ea2"
3350-
integrity sha512-9aEPf1JEpiTjcFAmmyw8eiIXmcNZOqaZyHO77wgm0/dWfT/oxC1SrIq8ET38pMxHYrcB6Uew+TzUVsBeczF88g==
3351-
3352-
eslint-plugin-react-native@^3.7.0:
3353-
version "3.7.0"
3354-
resolved "https://registry.yarnpkg.com/eslint-plugin-react-native/-/eslint-plugin-react-native-3.7.0.tgz#7e2cc1f3cf24919c4c0ea7fac13301e7444e105f"
3355-
integrity sha512-krLtQmGih/uJDPxF8DBpnU8J3kRUsDm/Dey5yEhOO8LN1I3Wesbk4PGCg8Zah57azKFU+9YtGooFjJcDJWUs+g==
3356-
dependencies:
3357-
eslint-plugin-react-native-globals "^0.1.1"
3358-
33593347
eslint-plugin-react@^7.14.2:
33603348
version "7.14.3"
33613349
resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.14.3.tgz#911030dd7e98ba49e1b2208599571846a66bdf13"

0 commit comments

Comments
 (0)