How to implement a custom Rubocop rule for checking git branch naming convention? #10470
Unanswered
abratashov
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
For example, I need to check the correctness of git branch naming - it should contain ticket ID.
I see, Rubocop processes only text nodes and checks only text lines. So, is it possible to define a rule that will be run only once to check one custom check not related to code but only to business logic?
Also created question here
https://stackoverflow.com/questions/71601687/how-to-implement-a-custom-rubocop-rule-for-checking-git-branch-naming-convention
and
idea
here #10473Beta Was this translation helpful? Give feedback.
All reactions