BestPracticeAnalyzer
Meziantou.Analyzer
BestPracticeAnalyzer | Meziantou.Analyzer | |
---|---|---|
1 | 3 | |
6 | 837 | |
- | - | |
3.6 | 8.9 | |
almost 2 years ago | 15 days ago | |
C# | C# | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
BestPracticeAnalyzer
-
Writing dumb Roslyn analyzers
Source if anyone wants it.
Meziantou.Analyzer
-
Can I disable the use of html tags in Blazor pages?
Nevermind, I already write my analyzer using this repository as a sample: https://github.com/meziantou/Meziantou.Analyzer/
-
Cool trick: Requiring optional parameters to be named
Another analyzer to help naming parameters: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0003.md
-
Cancellation Token
I can recommend this library of roslyn analzers. There is also an analyzer for cancellation tokens: https://github.com/meziantou/Meziantou.Analyzer
What are some alternatives?
Privatest - Adding instance-level accessibility mode to C#
Durian - Durian is a collection of Roslyn-based analyzers and source generators that extend the default capabilities of C#.
porting-assistant-dotnet-client - The 'Porting Assistant for .NET' is a standalone compatibility analyzer that helps customers to port their .NET Framework (“.NET”) applications to .NET Core on Linux.
LinqGen - Alloc-free and fast replacement for Linq, with code generation
mongo-csharp-analyzer - The MongoDB Analyzer is a free tool that helps you understand how your code translates into the MongoDB Query API.
RecordValueAnalyser - C# Roslyn code analyser to check records for correct value semantics
SharpSource - surfacing defects at compile time and preventing issues that would otherwise go unnoticed
awesome-roslyn - Curated list of awesome Roslyn books, tutorials, open-source projects, analyzers, code fixes, refactorings, and source generators