Linting tool for B2R2 projects written in F#.
We need a lightweight linter for our F# projects. The goal is to have a tool that can be used in the CI pipeline to ensure that the code adheres to our style guidelines. Unfortunately, existing tools like FSharpLint does not meet our needs and is not actively maintained. So we decided to create our own linter.
VS Code:
- Install from Visual Studio Code Marketplace
- Or search for "FSLint" in VS Code Extensions view
Visual Studio:
- Install from Visual Studio Marketplace
- Or use Extensions → Manage Extensions in Visual Studio
VS Code:
cd extension/vscode
./build.sh
code --install-extension fslint-*.vsixVisual Studio:
cd extension/vs
.\build.ps1
# Then install the generated .vsix file through Visual Studio