Skip to content

Conversation

@Thorium
Copy link
Member

@Thorium Thorium commented Oct 28, 2025

Expose Async API for parsing.
This is useful when FSharpLint is used by other means than console app.

@knocte
Copy link
Collaborator

knocte commented Oct 28, 2025

LGTM, can you fix CI? Cheers!

@knocte
Copy link
Collaborator

knocte commented Oct 28, 2025

LGTM, can you fix CI? Cheers!

Sorry! CI was broken because of a different problem, which was addressed in #769 (which I just merged). Can you rebase?

@knocte
Copy link
Collaborator

knocte commented Oct 30, 2025

@Thorium now it's giving an error on SelfCheck target, rule AvoidSinglePipeOperator which is not enabled by default, but for SelfCheck we now try to enable all rules, can you have a look? It's just that this rule considers that if you don't use the pipe operator in a chained way, then there's no point to use it (so, more readable and less verbose to have bar foo than foo |> bar).

@knocte knocte force-pushed the async-parsing branch 2 times, most recently from 5066805 to 5fdb6e0 Compare November 11, 2025 12:29
Thorium and others added 4 commits November 14, 2025 20:46
Suffix "Async" for methods is for methods that return
"Task<Foo>", not "Async<Foo".

For more info, see the PR for an upcoming FSharpLint
rule:
fsprojects#586
@knocte knocte merged commit 7017db1 into fsprojects:master Nov 17, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants