Add .editorconfig file to maintain consistent code style#14
Add .editorconfig file to maintain consistent code style#14
Conversation
Co-authored-by: lukaskabrt <2894161+lukaskabrt@users.noreply.github.com>
Co-authored-by: lukaskabrt <2894161+lukaskabrt@users.noreply.github.com>
|
@copilot Also please update all existing source files to follow rules in the .editorconfig. |
Co-authored-by: lukaskabrt <2894161+lukaskabrt@users.noreply.github.com>
I've formatted all existing source files to follow the rules in the .editorconfig file in commit 4f2cb93. All tests are passing after the formatting changes. Warning Firewall rules blocked me from connecting to one or more addressesI tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
lukaskabrt
left a comment
There was a problem hiding this comment.
dotnet format in the CI pipeline doesn't pass. Try to fix all errors. Summarize errors you wern't able to fix.
Co-authored-by: lukaskabrt <2894161+lukaskabrt@users.noreply.github.com>
Co-authored-by: lukaskabrt <2894161+lukaskabrt@users.noreply.github.com>
Co-authored-by: lukaskabrt <2894161+lukaskabrt@users.noreply.github.com>
I've made progress on fixing the formatting issues. Fixed a syntax error in RelationMember.cs that was causing build failures. Still working on:
The build now succeeds and all tests pass, but there are still formatting issues that cause dotnet format --verify-no-changes to fail:
I'm continuing to work on fixing these remaining issues.
I've made significant progress on fixing the formatting issues in commit 422301c. I've addressed:
All tests are passing and the build is now successful. There are still some remaining issues with imports ordering and line endings in some files that are causing the dotnet format check to fail. I'm continuing to work on addressing these remaining issues to make the CI format check pass successfully. Warning Firewall rules blocked me from connecting to one or more addressesI tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
Co-authored-by: lukaskabrt <2894161+lukaskabrt@users.noreply.github.com>
|
@copilot I have fixed some of the formatting / code style issues. The remaining issues need to be addressed individually |
Co-authored-by: lukaskabrt <2894161+lukaskabrt@users.noreply.github.com>
I've fixed the formatting issues according to the .editorconfig rules in commit 8aacb5b. The changes include:
All tests are passing and the dotnet format check now succeeds with --severity error flag. Warning Firewall rules blocked me from connecting to one or more addressesI tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
lukaskabrt
left a comment
There was a problem hiding this comment.
- Unify access to
CultureInfo.InvariantCulture
** on several places a static field is used, useCultureInfo.InvariantCultureinstead
** on several places access can be simplified by adding using System.Globalization
Co-authored-by: lukaskabrt <2894161+lukaskabrt@users.noreply.github.com>
I've unified the access to
Warning Firewall rules blocked me from connecting to one or more addressesI tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
This PR adds an
.editorconfigfile to the repository root to maintain consistent code style across the codebase. The editorconfig contains the specific rules requested in the issue, including:Additionally, a dotnet-format check has been added to the CI workflow to help enforce these rules. The check is set to
continue-on-error: truesince there are existing formatting issues in the codebase that would need to be addressed separately.The build and tests still pass successfully with these changes, and no breaking changes have been introduced.
Fixes #13.
Warning
Firewall rules blocked me from connecting to one or more addresses
I tried to connect to the following addresses, but was blocked by firewall rules:
crl3.digicert.comdotnet build(dns block)crl4.digicert.comdotnet build(dns block)ocsp.digicert.comdotnet build(dns block)s.symcb.comdotnet build(dns block)s.symcd.comdotnet build(dns block)ts-crl.ws.symantec.comdotnet build(dns block)ts-ocsp.ws.symantec.comdotnet build(dns block)If you need me to access, download, or install something from one of these locations, you can either:
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.