Tuomas Hietanen
Tuomas Hietanen
Structs: DUs and active patterns that have no fields or only simple sturcts should also be structs
I'm stealing the great idea from @nojaf and adding it here as possible development as well. :-) From FSharp.Core 6.0.1 onwards (F# 6): A DU without any fields should be...
Another idea for new rule: Don't do new Regex.Match in a loop: rather capture let myRegex = Regex("...") and then loop your myRegex.Match
Avoid double-lookup dictionaries: .ContainsKey key followed by .[key] should be replaced with .TryGetValue x for example: ```fsharp match xs.ContainsKey x with | true -> ... xs.[x] ... | false ->...
The feature #509 incorrectly picks raise-exceptions outside try-block, so if you do this: ```fsharp let ex : Exception = gotMyExceptionFromSomewhere() raise ex ``` Then FSharpLint says you should `reraise` instead,...
Trying the tool with one sample: ``` git clone https://github.com/simontreanor/FunStripe.git cd FunStripe cd src dotnet fsharplint lint FunStripe.fsproj ``` Expected: Run and produce a lot of issues. Actual: ``` Lint...
This is the most well known community project to implement F# tree-sitter parser.
Question: What is the best practice of adding a diagram or a chart? With GitHub they support Mermaid: https://github.blog/2022-02-14-include-diagrams-markdown-files-mermaid/ However it doesn't render in `fsdocs watch` so I didn't try...
There are maybe more than 100 libraries (just by the fork count of this repo) that have been built based on the different versions of ProjectScaffold. Which was great, it...
I was trying to test projectscaffold template (quite out-of-the-box), and `build Release` fails with: ``` Paket failed with: Could not find a part of the path 'C:\git\MyTest\temp\gh-pages\src\MyTest\bin\Release\MyTest.dll'. Running build failed....
I know this project is now under Ionide, but there has been questions to support the old Visual Studio. It wouldn't be so hard to do by combining code in...