-
Notifications
You must be signed in to change notification settings - Fork 2
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
Align .editorconfig with dotnet new template #289
Align .editorconfig with dotnet new template #289
Conversation
📝 WalkthroughWalkthroughThe pull request introduces refined indentation settings in the Changes
Possibly related PRs
Suggested labels
Suggested reviewers
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (3)
🔇 Additional comments (4)build/perf/baseline.json (1)
The JSON structure is properly formatted with 2-space indentation as specified in the updated .editorconfig. build/targets/codeanalysis/stylecop.json (1)
The JSON structure is properly formatted with consistent 2-space indentation as specified in the updated .editorconfig. .editorconfig (2)
The JSON file indentation rule is properly set to 2 spaces, which:
The changes properly separate and standardize indentation rules for different types of XML files:
Each category is correctly set to use 2-space indentation, which aligns with the dotnet new template standards. ✅ Verification successfulXML indentation standardization is appropriate for the repository's needs The repository contains numerous XML-based files (.props, .targets, .csproj, .nuspec) that will benefit from consistent 2-space indentation rules. The standardization is particularly relevant given the extensive use of MSBuild files in the build configuration structure and project files.
🏁 Scripts executedThe following scripts were executed for the analysis: Script: #!/bin/bash
# Verify that these settings match dotnet new template defaults
dotnet new --list | grep "Template Name"
Length of output: 139 Script: #!/bin/bash
# Let's check if there are any other .editorconfig files in the repository
# and verify the consistency of XML indentation rules
fd -e editorconfig -x cat {}
# Also check if there are any XML files to verify the impact
fd -e xml -e csproj -e fsproj -e vbproj -e proj -e props -e targets -e config -e nuspec
Length of output: 1194 Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Code Climate has analyzed commit 3fd7060 and detected 0 issues on this pull request. View more on Code Climate. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Align .editorconfig with the updated
dotnet new
template.The effect of this change is to set 2-space indent for
*.json
. That's important to make the code review bots stop complaining about indentation.Summary by CodeRabbit