Skip to content

Commit ec10d12

Browse files
committed
flowconfig [nfc]: Follow RN in removing deprecated-utility lint.
Done now, to follow the template-app change in facebook/react-native@fcffb961f, on the path to the RN v0.64 upgrade. That commit reports that this lint rule is no longer needed because it's turned on by default. This is corroborated by the Flow changelog for v0.98.0 [1], and I verified it experimentally -- using `$Supertype` (one of the deprecated utility types this rule is meant to catch [2]) is flagged as an error with or without this line in our config. [1] https://github.com/facebook/flow/blob/master/Changelog.md#0980 [2] https://flow.org/en/docs/linting/rule-reference/#toc-deprecated-utility
1 parent fc17b21 commit ec10d12

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

.flowconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ deprecated-type=warn
8585
unsafe-getters-setters=warn
8686
unnecessary-invariant=warn
8787
signature-verification-failure=warn
88-
deprecated-utility=error
8988

9089
; ours
9190
sketchy-number=error

0 commit comments

Comments
 (0)