Add implicit resharper settings#52
Merged
JimBobSquarePants merged 1 commit intoSixLabors:mainfrom Jun 28, 2025
Merged
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR adds ReSharper-specific settings to enforce implicit object creation style alongside existing Roslyn rules.
- Introduces a ReSharper inspection severities comment block.
- Adds two Resharper settings to error on object creation when type is (not) evident.
Comments suppressed due to low confidence (3)
.editorconfig:164
- Consider adding a reference or URL to the official ReSharper EditorConfig documentation here so that future contributors can verify valid setting names and expected values.
# ReSharper inspection severities
.editorconfig:165
- Double-check that the inspection key
resharper_arrange_object_creation_when_type_evident_highlightingmatches the official ReSharper naming convention for implicit object creation inspections. If the plugin uses a different identifier (for example including “implicit” or a different suffix), update it to the correct property name.
resharper_arrange_object_creation_when_type_evident_highlighting = error
.editorconfig:166
- Similarly, verify that the key
resharper_arrange_object_creation_when_type_not_evident_highlightingis correctly named according to ReSharper’s EditorConfig support. Adjust it if the official inspection ID differs.
resharper_arrange_object_creation_when_type_not_evident_highlighting = error
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #52 +/- ##
==================================
Coverage 19% 19%
==================================
Files 4 4
Lines 346 346
Branches 85 85
==================================
Hits 68 68
Misses 278 278
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
JimBobSquarePants
approved these changes
Jun 28, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Prerequisites
Description