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

Initial code review #1

Merged
merged 6 commits into from
Aug 2, 2024
Merged

Initial code review #1

merged 6 commits into from
Aug 2, 2024

Conversation

dominikag2
Copy link
Contributor

Code review after the inital repo push

See my small refactoring and other suggestions in this PR:

  • organize usings (I did this using the VS code feature), remove unused ones
  • case-sensitive file name typo (LandingPageController.cs)
  • a few refactoring suggestions (make code less repetitive, hopefully more readable, save some real estate)
  • some automatic formatting based on the .editorconfig has been applied (e.g., empty lines add/remove)
  • RetrieveMenu method - capital R (.NET conventions)
  • one readme typo and one improvement suggestion

- organize usings (using the VS code feature), remove unused ones
- file name typo
- a few refactoring suggestions (less repetitive, hopefully more readable, save some real estate)
- automatic formatting based on the editorconfig (e.g., empty lines add/remove)
- RetrieveMenu method - capital R (.NET conventions)
@seangwright
Copy link
Member

seangwright commented Aug 2, 2024

If you want to organize usings or clean up code in bulk, you can dotnet format in your solution file directory and your .editorconfig C# rules will be applied across all files. 😁

We use this on the integration repos to make sure formatting rules are followed as part of a PR's CI run.

Here's an example in Xperience by Kentico Lucene

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants