Skip to content

Update the ruleset regex to allow numbers - #6635

Merged
BraisGabin merged 3 commits into
detekt:mainfrom
atulgpt:fixes/6619/rules-id-regex
Nov 21, 2023
Merged

Update the ruleset regex to allow numbers#6635
BraisGabin merged 3 commits into
detekt:mainfrom
atulgpt:fixes/6619/rules-id-regex

Conversation

@atulgpt

@atulgpt atulgpt commented Nov 18, 2023

Copy link
Copy Markdown
Contributor

Fixes #6619

@codecov

codecov Bot commented Nov 18, 2023

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (933be47) 85.13% compared to head (3f49e17) 85.14%.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #6635      +/-   ##
============================================
+ Coverage     85.13%   85.14%   +0.01%     
  Complexity     4079     4079              
============================================
  Files           570      570              
  Lines         13363    13363              
  Branches       2402     2402              
============================================
+ Hits          11376    11378       +2     
+ Misses          791      790       -1     
+ Partials       1196     1195       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Comment thread detekt-api/src/test/kotlin/io/gitlab/arturbosch/detekt/api/RuleSetSpec.kt Outdated
Comment thread detekt-api/src/test/kotlin/io/gitlab/arturbosch/detekt/api/RuleSetSpec.kt Outdated
Comment thread detekt-api/src/test/kotlin/io/gitlab/arturbosch/detekt/api/RuleSetSpec.kt Outdated
Comment thread detekt-api/src/test/kotlin/io/gitlab/arturbosch/detekt/api/RuleSetSpec.kt Outdated
Comment thread detekt-api/src/test/kotlin/io/gitlab/arturbosch/detekt/api/RuleSetSpec.kt Outdated
atulgpt and others added 2 commits November 19, 2023 17:45
…eSetSpec.kt

Co-authored-by: schalkms <30376729+schalkms@users.noreply.github.com>
Co-authored-by: schalkms <30376729+schalkms@users.noreply.github.com>
@BraisGabin BraisGabin added the pick request Marker for PRs that should be ported to the 1.0 release branch label Nov 21, 2023
@BraisGabin
BraisGabin merged commit 824c59a into detekt:main Nov 21, 2023
@detekt-ci

Copy link
Copy Markdown
Collaborator
Warnings
⚠️ This PR is approved with no milestone set. If merged, it won't appear in the detekt release notes.

Generated by 🚫 dangerJS against 3f49e17

@BraisGabin BraisGabin added this to the 2.0.0 milestone Nov 21, 2023
@atulgpt
atulgpt deleted the fixes/6619/rules-id-regex branch November 22, 2023 19:17
@cortinico cortinico changed the title Update the regex to allow numbers Update the ruleset regex to allow numbers Nov 23, 2023
cortinico pushed a commit that referenced this pull request Nov 25, 2023
* Update the regex to allow numbers

* Update detekt-api/src/test/kotlin/io/gitlab/arturbosch/detekt/api/RuleSetSpec.kt

Co-authored-by: schalkms <30376729+schalkms@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: schalkms <30376729+schalkms@users.noreply.github.com>

---------

Co-authored-by: schalkms <30376729+schalkms@users.noreply.github.com>
mgroth0 pushed a commit to mgroth0/detekt that referenced this pull request Feb 11, 2024
* Update the regex to allow numbers

* Update detekt-api/src/test/kotlin/io/gitlab/arturbosch/detekt/api/RuleSetSpec.kt

Co-authored-by: schalkms <30376729+schalkms@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: schalkms <30376729+schalkms@users.noreply.github.com>

---------

Co-authored-by: schalkms <30376729+schalkms@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api pick request Marker for PRs that should be ported to the 1.0 release branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Why is there not available to use digits for RuleSet id

5 participants