Enable Flow Strict Local for 13 files in xplat/sonar

Summary:
First add a Flow Strict config, then enable Flow Strict Local for 13 files in xplat/sonar.

each change can land seperately:
drop-conflicts

Reviewed By: passy

Differential Revision: D13368791

fbshipit-source-id: 5bc1f9d3a179f4b9a554cc8cc629db0fda468a36
This commit is contained in:
George Zahariev
2018-12-11 13:46:01 -08:00
committed by Facebook Github Bot
parent b0cacc1272
commit c6e0517640
2 changed files with 10 additions and 1 deletions

View File

@@ -22,5 +22,14 @@ module.name_mapper='flipper' -> '<PROJECT_ROOT>/src/index.js'
suppress_type=$FlowFixMe
[strict]
deprecated-type
nonstrict-import
sketchy-null
unclear-type
unsafe-getters-setters
untyped-import
untyped-type-import
[version]
^0.86.0

View File

@@ -3,7 +3,7 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
* @format
* @flow
* @flow strict-local
*/
const path = require('path');