fsprojects / FSharp.Formatting

F# tools for generating documentation (Markdown processor and F# code formatter)
https://fsprojects.github.io/FSharp.Formatting/
Other
462 stars 155 forks source link

Bump fsharp-analyzers from 0.20.2 to 0.21.0 #882

Closed dependabot[bot] closed 7 months ago

dependabot[bot] commented 7 months ago

Bumps fsharp-analyzers from 0.20.2 to 0.21.0.

Release notes

Sourced from fsharp-analyzers's releases.

v0.21.0

Changed

Changelog

Sourced from fsharp-analyzers's changelog.

[0.21.0] - 2023-11-22

Changed

Commits
  • 9a71b32 Merge pull request #169 from Numpsy/quote_binlog_path
  • 45b026d Wrap the path to the binlog in quotes when building a test project
  • 2bf6d6a Merge pull request #168 from nojaf/update-fcs-43-8-100
  • 9b06739 Add changelog entry
  • 6d47a3a Update SDK, FCS and tools.
  • See full diff in compare view


Dependabot compatibility score

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 ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
nojaf commented 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