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:
Daniel Sainati
2020-02-10 17:23:31 -08:00
committed by Facebook Github Bot
parent acdaf512e5
commit 7bd1abec35
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -73,6 +73,7 @@ unsafe-getters-setters=warn
unnecessary-invariant=warn
signature-verification-failure=warn
deprecated-utility=error
unsafe-addition=error
[strict]
deprecated-type
+1
View File
@@ -73,6 +73,7 @@ unsafe-getters-setters=warn
unnecessary-invariant=warn
signature-verification-failure=warn
deprecated-utility=error
unsafe-addition=error
[strict]
deprecated-type