stakx / TypeNameFormatter

A small .NET library for formatting type names à la C#.
MIT License
33 stars 4 forks source link

Suppress IDE0040 coding style rule #49

Closed stakx closed 3 years ago

stakx commented 3 years ago

Resolves #48 (maybe?)

I couldn't actually reproduce any error as described by @kzu in #48, but I trust that the suggested solution works.

kzu commented 3 years ago

The repro would involve adding a .editorconfig with dotnet_style_require_accessibility_modifiers = omit_if_default:error :)

stakx commented 3 years ago

Yes, I did that. No errors or warnings whatsoever! (I have most default VS extensions disabled due to my machine being somewhat limited resource-wise. Perhaps that made some code analysis features go away, too.)

Still happy to merge this even so, if you think it'll be helpful.

kzu commented 3 years ago

Yeah, I think it's worth it anyway. Thanks!