Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance solution formatting and cleanup post Rider 2023.2.3 upgrade #214

Merged
merged 6 commits into from
Nov 19, 2023

Conversation

tjementum
Copy link
Member

@tjementum tjementum commented Nov 19, 2023

Summary & Motivation

Perform a cleanup across the entire solution following the upgrade to Rider 2023.2.3. Move JetBrains formatting rules from .editorconfig to a .DotSettings file. This change enforces JetBrains formatting out-of-the-box and offers more granular control.

Add a .NET only cleanup profile to .DotSettings to prevent ReSharper and Rider from formatting frontend files. To maintain consistent formatting in frontend files, "Format on Save" should be manually configured to use Prettier. Additionally, file types such as .html, .css, and .json need to be added to Prettier's configuration for comprehensive coverage.

Furthermore, .NET tools, including the JetBrains inspectcode and cleanupcode formatter, have been added to dotnet-tools.json. This inclusion streamlines tool management and ensures consistency across development environments. The GitHub workflow has been correspondingly updated to reflect these tooling changes, enhancing the efficiency and reliability of our continuous integration process.

Build will now fail if there are any formatting or code inspection warnings.

Checklist

  • I have added a Label to the pull-request
  • I have added tests, and done manual regression tests
  • I have updated the documentation, if necessary

@tjementum tjementum added the Enhancement New feature or request label Nov 19, 2023
@tjementum tjementum self-assigned this Nov 19, 2023
@tjementum tjementum force-pushed the formatting branch 2 times, most recently from 1265654 to 5818597 Compare November 19, 2023 19:31
Copy link

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 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@tjementum tjementum merged commit 7a64a10 into main Nov 19, 2023
7 checks passed
@tjementum tjementum deleted the formatting branch November 19, 2023 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant