Skip to content

Commit fe1a035

Browse files
List Flow lint rules and enable low-hanging fruits (#1833)
1 parent 09940fb commit fe1a035

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.flowconfig

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,24 @@
99

1010
[libs]
1111

12+
[lints]
13+
sketchy-null-bool=off
14+
sketchy-null-string=off
15+
sketchy-null-number=error
16+
sketchy-null-mixed=off
17+
sketchy-number=off
18+
untyped-type-import=error
19+
nonstrict-import=off
20+
untyped-import=off
21+
unclear-type=off
22+
deprecated-type=off
23+
deprecated-utility=error
24+
dynamic-export=off
25+
unsafe-getters-setters=error
26+
inexact-spread=error
27+
unnecessary-optional-chain=error
28+
unnecessary-invariant=off
29+
1230
[options]
1331
include_warnings=true
1432
module.use_strict=true

0 commit comments

Comments
 (0)