configcat / .net-sdk

ConfigCat SDK for .NET. ConfigCat is a hosted feature flag service: https://configcat.com. Manage feature toggles across frontend, backend, mobile, desktop apps. Alternative to LaunchDarkly. Management app + feature flag SDKs.
https://configcat.com/docs/sdk-reference/csharp
Other
29 stars 8 forks source link

Consistent code style #59

Closed adams85 closed 1 year ago

adams85 commented 1 year ago

Describe the purpose of your pull request

Adds an .editorconfig file for defining a consistent code style in the repo. The code style definition is based on the coding style guidelines of the dotnet/runtime repo. Library and sample code has been completely reformatted using the new code style.

As a further step, we may consider extending our GitHub action checks to enforce that only properly formatted code can be merged into the master branch.

Note: although there is a standard setting for maximum line length in .editorconfig, the .NET tooling doesn't support it yet, so it is ignored for now.

Requirement checklist (only if applicable)

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

91.3% 91.3% Coverage
0.0% 0.0% Duplication