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

StringShouldBeRawString: Ignore replaceIndent and prependIndent #6154

Merged
merged 1 commit into from May 27, 2023

Conversation

atulgpt
Copy link
Contributor

@atulgpt atulgpt commented May 26, 2023

Ignore string when it only contains "

Fixes: #6145

Ignore string when it only contains `"`
@codecov
Copy link

codecov bot commented May 26, 2023

Codecov Report

Merging #6154 (a7f34a9) into main (dcfb841) will increase coverage by 0.00%.
The diff coverage is 88.88%.

@@            Coverage Diff            @@
##               main    #6154   +/-   ##
=========================================
  Coverage     84.94%   84.94%           
- Complexity     4026     4029    +3     
=========================================
  Files           569      569           
  Lines         13498    13507    +9     
  Branches       2381     2383    +2     
=========================================
+ Hits          11466    11474    +8     
  Misses          869      869           
- Partials       1163     1164    +1     
Impacted Files Coverage Δ
...osch/detekt/rules/style/StringShouldBeRawString.kt 84.84% <88.88%> (+0.63%) ⬆️

@cortinico cortinico added this to the 2.0.0 milestone May 27, 2023
@cortinico cortinico merged commit a53e520 into detekt:main May 27, 2023
23 checks passed
@atulgpt atulgpt deleted the fixes/6145 branch May 27, 2023 19:14
@cortinico cortinico added the pick request Marker for PRs that should be ported to the 1.0 release branch label Jul 15, 2023
cortinico pushed a commit to cortinico/detekt that referenced this pull request Jul 15, 2023
mgroth0 pushed a commit to mgroth0/detekt that referenced this pull request Feb 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pick request Marker for PRs that should be ported to the 1.0 release branch rules
Projects
None yet
Development

Successfully merging this pull request may close these issues.

StringShouldBeRawString false positive with prependIndent
4 participants