mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
enable unsafe addition check in xplat
Summary: With the release of 0.118 Flow now checks for unsafe additions between numbers and null/void. This enables this check in xplat. ```~/fbsource/fbcode/flow/tool add-comments --bin `which flow` --comment="//flowlint-next-line unsafe-addition=off" ~/fbsource/xplat/js``` `js1 test -u __tests__/flowconfig-sync-test.js` Changelog: [Internal] bypass-lint Reviewed By: nmote Differential Revision: D19823403 fbshipit-source-id: 1f059de6c9d973cda11930f1fadb485679d4ecec
This commit is contained in:
committed by
Facebook Github Bot
parent
acdaf512e5
commit
7bd1abec35
@@ -73,6 +73,7 @@ unsafe-getters-setters=warn
|
||||
unnecessary-invariant=warn
|
||||
signature-verification-failure=warn
|
||||
deprecated-utility=error
|
||||
unsafe-addition=error
|
||||
|
||||
[strict]
|
||||
deprecated-type
|
||||
|
||||
@@ -73,6 +73,7 @@ unsafe-getters-setters=warn
|
||||
unnecessary-invariant=warn
|
||||
signature-verification-failure=warn
|
||||
deprecated-utility=error
|
||||
unsafe-addition=error
|
||||
|
||||
[strict]
|
||||
deprecated-type
|
||||
|
||||
Reference in New Issue
Block a user