From 73693df1405381043f22e9bec3ac3f24520c35ee Mon Sep 17 00:00:00 2001 From: Dachi Date: Sun, 27 Oct 2024 10:48:57 -0700 Subject: [PATCH] integrated the flow static checking --- .babelrc | 4 ++++ .flowconfig | 14 ++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 .babelrc create mode 100644 .flowconfig diff --git a/.babelrc b/.babelrc new file mode 100644 index 0000000000..f800ddd916 --- /dev/null +++ b/.babelrc @@ -0,0 +1,4 @@ +{ + "presets": ["@babel/preset-flow"], + "plugins": ["babel-plugin-syntax-hermes-parser"] +} \ No newline at end of file diff --git a/.flowconfig b/.flowconfig new file mode 100644 index 0000000000..95fde81def --- /dev/null +++ b/.flowconfig @@ -0,0 +1,14 @@ +[ignore] + +[include] + +[libs] + +[lints] +untyped-type-import=error +internal-type=error +deprecated-type-bool=error + +[options] + +[strict]