-
-
Notifications
You must be signed in to change notification settings - Fork 675
Open
Labels
a-toolsupstream: RNIssues related to an issue in React NativeIssues related to an issue in React Native
Description
This is included in the RN upgrade guide for v0.59.10 to v0.60.0.
Surprisingly, this didn't flag any errors in existing code. I confirmed that it was indeed activated by making an example that didn't get flagged before, but newly does. (A no-global-assign
on attempting to reassign __fbBatchedBridgeConfig
; see this.)
Here's the output of
$ node_modules/.bin/eslint --print-config .
with and without @react-native-community/eslint-config enabled:
printed-config-with-rnc.txt
printed-config-before.txt
One annoying bit is that one of its devDependencies
has typescript
as a peerDependency
, so I get this:
warning "@react-native-community/eslint-config > @typescript-eslint/eslint-plugin > tsutils@3.17.1" has unmet peer dependency "typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta".
See also discussion.
Metadata
Metadata
Assignees
Labels
a-toolsupstream: RNIssues related to an issue in React NativeIssues related to an issue in React Native