A static analyzer for C# projects. Currently an ongoing project.
You need .NET 8.0 to run this project.
Install SACSharp with dotnet
git clone https://github.com/Shriyansh-Aggarwal/SACSharp.git
cd SACSharp
dotnet build
dotnet pack -c Release --output ./nupkg
dotnet tool install --global --add-source ./nupkg sacsharpCreate a C# project and use the below command (Remember to only provide the project directory as the argument, not a file!)
sacsharp scan /path/to/project-directoryI have added a tests folder in the repository, you can run the tests to check if the installation works by running this command in SACSharp directory:
sacsharp scan ./Tests