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:
committed by
Facebook Github Bot
parent
b0cacc1272
commit
c6e0517640
@@ -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
|
||||
|
||||
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user