Skip to content

StringShouldBeRawString: Ignore replaceIndent and prependIndent - #6154

Merged
cortinico merged 1 commit into
detekt:mainfrom
atulgpt:fixes/6145
May 27, 2023
Merged

StringShouldBeRawString: Ignore replaceIndent and prependIndent#6154
cortinico merged 1 commit into
detekt:mainfrom
atulgpt:fixes/6145

Conversation

@atulgpt

@atulgpt atulgpt commented May 26, 2023

Copy link
Copy Markdown
Contributor

Ignore string when it only contains "

Fixes: #6145

Ignore string when it only contains `"`
@codecov

codecov Bot commented May 26, 2023

Copy link
Copy Markdown

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
@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