FsHotWatch.Lint
0.3.0-alpha.1
dotnet add package FsHotWatch.Lint --version 0.3.0-alpha.1
NuGet\Install-Package FsHotWatch.Lint -Version 0.3.0-alpha.1
<PackageReference Include="FsHotWatch.Lint" Version="0.3.0-alpha.1" />
<PackageVersion Include="FsHotWatch.Lint" Version="0.3.0-alpha.1" />
<PackageReference Include="FsHotWatch.Lint" />
paket add FsHotWatch.Lint --version 0.3.0-alpha.1
#r "nuget: FsHotWatch.Lint, 0.3.0-alpha.1"
#:package FsHotWatch.Lint@0.3.0-alpha.1
#addin nuget:?package=FsHotWatch.Lint&version=0.3.0-alpha.1&prerelease
#tool nuget:?package=FsHotWatch.Lint&version=0.3.0-alpha.1&prerelease
FsHotWatch.Lint
Plugin that runs FSharpLint using the warm FSharpChecker's parse and check results -- no re-parsing needed.
Why
FSharpLint normally parses your entire project from scratch every time
you run it. With FsHotWatch, the compiler is already warm -- the lint
plugin calls lintParsedSource directly with the AST and type-check
results that are already in memory, so linting takes milliseconds.
How it works
- You save a file
- The daemon type-checks it with the warm FSharpChecker
- LintPlugin receives
FileCheckedwith parse results and check results - It calls
FSharpLint.lintParsedSourcewith the warm AST - Warnings are reported to the error ledger
Configuration
In .fs-hot-watch.json:
{
"lint": true
}
Set "lint": false to disable. The plugin automatically loads
fsharplint.json from your repo root if it exists.
CLI
# Run linter on all files and show warnings
fs-hot-watch lint
# Query lint warning count
fs-hot-watch warnings
# Show all errors (including lint warnings)
fs-hot-watch errors
Programmatic usage
daemon.RegisterHandler(
LintPlugin.create
(Some "fsharplint.json") // config path (or None for defaults)
None // getCommitId for caching
)
Install
dotnet add package FsHotWatch.Lint
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- FSharp.Core (>= 10.1.201)
- FSharpLint.Core (>= 0.26.11--date20260212-1023.git-8e20e0b)
- FsHotWatch (>= 0.3.0-alpha.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.3.0-alpha.1 | 33 | 4/8/2026 |
| 0.1.0-alpha.1 | 44 | 4/3/2026 |