dennisdoomen / CSharpGuidelines

A set of coding guidelines for C# 9.0, design principles and layout rules for improving the overall quality of your code development.
https://www.csharpcodingguidelines.com
Other
745 stars 272 forks source link

Suggestion: Per-Rule metadata #195

Closed julianbartel closed 4 years ago

julianbartel commented 5 years ago

Proposal is to have additional metadata on a per rule basis. This could be achieved by moving every rule into its own markdown file so it has its own front matter. Use case examples:

The problem I see is that this would be an absolutely breaking change. However, I have a working prototype and could provide a PR if you are interested.

dennisdoomen commented 5 years ago

I'm actually quite interested in that. I've been considering the same thing. It would also make everything more searchable (potentially).

julianbartel commented 5 years ago

Created PR #196 but marked as draft as I would like to discuss a few points (provided in PR comment).

julianbartel commented 4 years ago

Now that this has been done, the issue can be closed. @dennisdoomen Thanks for your support and accepting PR #196.

dennisdoomen commented 4 years ago

Thank you for this awesome contribution. It made the site so much better.