fsprojects / fsprojects/FSharpLint

Running FSharpLint from CI

Open
#480 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
F#
Stars
327
Forks
74
PR merge metrics
No merged PRs in 30d

Description

Hello,
While running fsharplint against a medium sized project I found the tool to be really slow. Is there any documentation for how to efficiently run this tool from a CI server so lint rules can be enforced at build time and reviewed during code-review.

Example command

find ./src -name "*.fs" | xargs -L {} -n 1 dotnet fsharplint lint {}

I have also considered running this with parallel but it's difficult to maintain as time goes on.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the example dotnet fsharplint lint invocation and the repository's available CI entry points. Document an efficient, maintainable way to run FSharpLint during builds and expose results for code review, including how parallel execution should be handled.

Written by the indexing model from the issue text.

Assessment

Tech stack
fsharp
Domain
ci-cd, documentation, tooling
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.