From fe1a035a8be54c2fef77c8be344b7747cee7c224 Mon Sep 17 00:00:00 2001 From: Ivan Goncharov Date: Sat, 27 Apr 2019 09:01:42 +0300 Subject: [PATCH] List Flow lint rules and enable low-hanging fruits (#1833) --- .flowconfig | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.flowconfig b/.flowconfig index 0a68e390ce..385a9dde28 100644 --- a/.flowconfig +++ b/.flowconfig @@ -9,6 +9,24 @@ [libs] +[lints] +sketchy-null-bool=off +sketchy-null-string=off +sketchy-null-number=error +sketchy-null-mixed=off +sketchy-number=off +untyped-type-import=error +nonstrict-import=off +untyped-import=off +unclear-type=off +deprecated-type=off +deprecated-utility=error +dynamic-export=off +unsafe-getters-setters=error +inexact-spread=error +unnecessary-optional-chain=error +unnecessary-invariant=off + [options] include_warnings=true module.use_strict=true