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

Update the ruleset regex to allow numbers #6635

Merged
merged 3 commits into from Nov 21, 2023

Conversation

atulgpt
Copy link
Contributor

@atulgpt atulgpt commented Nov 18, 2023

Fixes #6619

Copy link

codecov bot commented Nov 18, 2023

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.

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
23 checks passed
@detekt-ci
Copy link
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