csharpier
EditorConfig
Our great sponsors
csharpier | EditorConfig | |
---|---|---|
36 | 4 | |
1,128 | 612 | |
- | - | |
9.3 | 0.0 | |
8 days ago | 3 months ago | |
C# | ||
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
csharpier
- 100% deterministic c# formatter
-
Is there an all-in-one code style solution yet?
Maybe check out https://csharpier.com/. I've never used it but am curious
-
Would you welcome top Level functions in C#
You're coupling your code in some manner whether you are calling static methods or instance methods. But yes, static methods aren't really mockable, so depending how you test it could bite you. However https://github.com/belav/csharpier makes extensive use of static methods and is incredibly well tested.
- how to bring order to a legacy codebase using editorconfig and dotnet format? it is only fixing whitespace issues
-
Dotnet, C#, code format on JetBrain IDE Rider
CSharpier
-
top 5 things every c# developer should know
I'm kind of hoping https://github.com/belav/csharpier becomes the norm.
- Does anyone have the default/standard resharper roslyn equivalent rules (or close) in an .editorconfig?
- Enforcing .NET code style rules at compile time
-
SourceGenerator.Foundations
https://github.com/belav/csharpier/tree/master/Src/CSharpier.Generators is an example.
-
How to apply formatting style/rules to an existing C# code base?
I'm biased (since I wrote it), but I've found nothing compares to using https://github.com/belav/csharpier
EditorConfig
-
Code Styling should be enforced by default
Someone already went through the trouble of producing a editorconfig dotfile that conforms to the StyleCop rules, and yet it isn't even suggested to be applied by any important C# tool. Which is a glaring oversight as bad as when default gitignore files were not suggested by default, leading to countless repos cluttered with bin and obj folders.
-
Does anyone has a clean code .EditorConfig for C#?
Like this: editorconfig ?
-
Migrating from JS/TS ecosystem to Blazor
Also https://github.com/RehanSaeed/EditorConfig as a starting point for enforcing C# rules and fixes like eslint.
-
PascalCase or camelCase?
Yes. This one is kept up to date as they add new rules to Visual Studio, it's my go-to to use as a base. It goes off of the Microsoft/.net guidelines and sprinkles stylecop style rules on top of it: https://github.com/RehanSaeed/EditorConfig
What are some alternatives?
format - Home for the dotnet-format command
Alturos.Yolo - C# Yolo Darknet Wrapper (real-time object detection)
NumSharp - High Performance Computation for N-D Tensors in .NET, similar API to NumPy.
Roslyn - The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
StyleCopAnalyzers - An implementation of StyleCop rules using the .NET Compiler Platform
Husky.Net - Git hooks made easy with Husky.Net internal task runner! 🐶 It brings the dev-dependency concept to the .NET world!
prettier - Prettier is an opinionated code formatter.
Visual Studio Uninstaller
Fine Code Coverage - Visualize unit test code coverage easily for free in Visual Studio Community Edition (and other editions too)
Papercut - Papercut SMTP -- The Simple Desktop Email Server
Bridge.NET - :spades: C# to JavaScript compiler. Write modern mobile and web apps in C#. Run anywhere with Bridge.NET.