You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WIP: Add Sarif output support to FSharpLint.Console
This is using the Microsoft Sarif.Sdk to write Sarif files.
The "import_targets: false" in paket.references is a workaround for this build error from a build task in the transitive microsoft.diagnostics.tracing.eventregister nuget package dependency.:
Exec: %packages%\microsoft.diagnostics.tracing.eventregister\1.1.28\build\Microsoft.Diagnostics.Tracing.EventRegister.targets(132,5): error MSB3073: The command ""%packages%\microsoft.diagnostics.tracing.eventregister\1.1.28\build\eventRegister.exe" -DumpRegDlls @"S:\GitHubForks\FSharpLint\src\FSharpLint.Console\bin\Release\net6.0\dotnet-fsharplint.eventRegister.rsp" "S:\GitHubForks\FSharpLint\src\FSharpLint.Console\bin\Release\net6.0\dotnet-fsharplint.dll" " exited with code 1.
| Lint _->"Runs FSharpLint against a file or a collection of files."
36
+
| Report _->"Write the result messages to a (sarif) report file."
37
+
| Code_Root _->"Root of the current code repository, used in the sarif report to construct the relative file path. The current working directory is used by default."
34
38
| Version ->"Prints current version."
35
39
36
40
// TODO: investigate erroneous warning on this type definition
@@ -94,13 +98,20 @@ let private start (arguments:ParseResults<ToolArgs>) (toolsPath:Ionide.ProjInfo.
0 commit comments