Closed dependabot[bot] closed 7 months ago
Hi all,
Here is a little update on these latest analyzers' PRs.
The tl;dr
is that analyzers can highlight problems in your code that go beyond what the F# compiler will typically tell you.
We use analyzers from two packages:
Both have documentation that illustrates the problems they detect and how to solve them.
So, how does one run these analyzers?
In the repository root:
dotnet msbuild /t:AnalyzeSolution
Or in a (src) project folder:
dotnet msbuild /t:AnalyzeFSharpProject
Analyzers are additional checks to unit tests and code formatting. You'd like to run these locally before you commit your code. That is why I added:
dotnet fsi build.fsx -- -p Verify
This runs all checks (formatting, unit tests & analyzers) in one go.
Overall, I do feel like we have already made some performance boost by using the String analyzers. I don't have any numbers to back this, it just feels faster on my local machine.
Anyway, thanks for putting up with this. Don't hesitate to poke me if you have questions.
//cc @kMutagene @nhirschey @dawedawe @dsyme
Bumps fsharp-analyzers from 0.20.2 to 0.21.0.
Release notes
Sourced from fsharp-analyzers's releases.
Changelog
Sourced from fsharp-analyzers's changelog.
Commits
9a71b32
Merge pull request #169 from Numpsy/quote_binlog_path45b026d
Wrap the path to the binlog in quotes when building a test project2bf6d6a
Merge pull request #168 from nojaf/update-fcs-43-8-1009b06739
Add changelog entry6d47a3a
Update SDK, FCS and tools.Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show