Kill Flow support

Summary:
* Removed Flow compilation step
* Removed all `flow` annotations
* Removed all FlowFixMe's
* Removed flow typings for Flipper
* Left flow transpilation (stripping) in babel, in case there is any external user using Flow in his plugin
* Left `eslint-plugin-flowtype` dependencies, as `eslint-config-fbjs` requires it

Reviewed By: passy

Differential Revision: D24755545

fbshipit-source-id: 9c0a7910657fd1cba88294e041bf2bfdf7b565bf
This commit is contained in:
Michel Weststrate
2020-11-09 07:59:07 -08:00
committed by Facebook GitHub Bot
parent 543a0e53ac
commit 670be012b2
44 changed files with 15 additions and 16621 deletions

View File

@@ -22,7 +22,7 @@ const prettierConfig = {
trailingComma: 'all',
bracketSpacing: false,
jsxBracketSameLine: true,
parser: 'flow',
parser: '',
};
module.exports = {
@@ -59,7 +59,6 @@ module.exports = {
// additional rules for this project
'header/header': [2, 'block', {pattern}],
'prettier/prettier': [2, prettierConfig],
'flowtype/object-type-delimiter': [0],
'import/no-unresolved': [2, {commonjs: true, amd: true}],
},
settings: {