-
Notifications
You must be signed in to change notification settings - Fork 75
Open
Description
Description
There's already a rule to favor typed ignore instead of the non-typed version,
the same logic is applicable to Async.Ignore, so maybe FSharpLint should
also throw a warning for usage of non-typed Async.Ignore.
Expected behavior
member self.ConnectToDirectory() =
async {
return 1
}
do! self.ConnectToDirectory() |> Async.Ignore
In this sample FSharpLint should throw a warning to ask user
to use typed Async.Ignore like this:
do! self.ConnectToDirectory() |> Async.Ignore<int>
Actual behavior
FSharpLint doesn't throw any warning.
Metadata
Metadata
Assignees
Labels
No labels