Naming code quality
ProprietaryNaming convention recipes for C# code.
OpenRewrite. Recipes. CSharp. CodeQuality. Naming. NamingCodeQualitymod run . --recipe= OpenRewrite. Recipes. CSharp. CodeQuality. Naming. NamingCodeQualityInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.
Recipe list
It runs these recipes, in this order.
- Async method name should end with Async
- Non-async method should not end with Async
- Use nameof operator
- Rename private field according to _camelCase convention
- Rename parameter to camelCase
- Parameter name should match base definition
- Attribute name should end with 'Attribute'
- Exception name should end with 'Exception'
- EventArgs name should end with 'EventArgs'
- Find TODO/HACK/FIXME comments