microsoft / FeatureManagement-Dotnet

Microsoft.FeatureManagement provides standardized APIs for enabling feature flags within applications. Utilize this library to secure a consistent experience when developing applications that use patterns such as beta access, rollout, dark deployments, and more.
MIT License
1.05k stars 115 forks source link

Add linting rule #472

Closed zhiyuanliang-ms closed 4 months ago

zhiyuanliang-ms commented 4 months ago

Why this PR?

436

Visible changes

Linting rules are defined in .editorconfig file.

property is added to the csproj file and then all code format issues will be reported during build process. In the editorconfig file, it sets the severity of IDE0055 and some other formating rules to error. This will make build fail if the formating rule is not followed.
zhiyuanliang-ms commented 4 months ago

/AzurePipeline run

azure-pipelines[bot] commented 4 months ago
Azure Pipelines successfully started running 1 pipeline(s).
zhiyuanliang-ms commented 4 months ago

@jimmyca15 @rossgrambo Could you approve this PR so that I can merge main branch to preview branch?