jinek / Consolonia

A cross-platform UI framework for .NET.
MIT License
342 stars 12 forks source link

Code style #7

Closed jinek closed 2 years ago

jinek commented 2 years ago

Setup rules of code style and re-format/validate by jetbrains tools (including duplication finder).

vabka commented 2 years ago

Look at https://github.com/dotnet/format Editorconfig from it can be shared with R# and you can use dotnet-format instead of default R# formatter.

Duplication finder: https://www.jetbrains.com/help/resharper/dupFinder.html But i dont know how it can be run in gh actions. In teamcity there is a default step for R# tools. But i dont know is it available for OSS projects like IDEs do.

jinek commented 2 years ago

I will create separate task for dupFinder. It's probably not ~one liner like inspections and formatting