AwesomeAnalyzer
AwesomeAnalyzer is a pack of different Roslyn Analyzers
Analyzers
ID |
Notes |
JJ0001 |
Class should have modifier sealed. |
JJ0003 |
Variable can be a const. |
JJ0004 |
Statement is missing using because type implements IDisposable. |
JJ0005 |
Convert string to [Type].TryParse() |
JJ0006 |
Remove async and await in method. |
JJ0007 |
Don't return lists with null from methods. |
JJ0008 |
Similar Code Detected. |
JJ0009 |
Property can be made immutable in Record. |
JJ0100 |
Method contains Async prefix. |
JJ0101 |
Method call is missing Await. |
JJ0102 |
Method name is missing Async prefix. |
JJ1001-JJ1013 |
[Type] needs to be sorted alphabetically. [Type] needs to be in correct order. |
EditorConfig
You can use the following EditorConfig to configure the analyzers:
dotnet_diagnostic.JJNNNN.enabled = true/false
dotnet_diagnostic.JJNNNN.severity = default/none/silent/suggestion/warning/error
Example:
dotnet_diagnostic.JJ0001.enabled = true
dotnet_diagnostic.JJ0001.severity = default
| |