mirror of
https://github.com/facebook/react-native.git
synced 2024-11-21 22:10:14 +00:00
Enable unused-promise lint in xplat/js (#36589)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/36589 Enable the unused-promise lint in xplat/js. See https://flow.org/en/docs/linting/rule-reference/#toc-unused-promise for more details. Changelog: [Internal] Reviewed By: motiz88 Differential Revision: D44156206 fbshipit-source-id: e318df09094be56604729f69d865657596f8d3c2
This commit is contained in:
parent
d9f7c4c189
commit
f708cc409f
@ -63,6 +63,7 @@ nonstrict-import=warn
|
||||
deprecated-type=error
|
||||
unsafe-getters-setters=warn
|
||||
unnecessary-invariant=warn
|
||||
unused-promise=error
|
||||
|
||||
[strict]
|
||||
deprecated-type
|
||||
|
@ -63,6 +63,7 @@ nonstrict-import=warn
|
||||
deprecated-type=error
|
||||
unsafe-getters-setters=warn
|
||||
unnecessary-invariant=warn
|
||||
unused-promise=error
|
||||
|
||||
[strict]
|
||||
deprecated-type
|
||||
|
Loading…
Reference in New Issue
Block a user