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

Feature: Use regex in keywords #15

Open
ra100 opened this issue Mar 1, 2021 · 2 comments
Open

Feature: Use regex in keywords #15

ra100 opened this issue Mar 1, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@ra100
Copy link

ra100 commented Mar 1, 2021

Use case: I'd like to specify more granular criteria for what should be "TODO". For example, I want to "accept/ignore" a TODO if it has specific format of Issue Number assegned.
example:

// TODO: this should "fail danger"
// TODO: ISS-5788 Fix the stuff, should not "fail danger" as it has issue assigned.
@rohit-gohri rohit-gohri added the enhancement New feature or request label Mar 22, 2021
@rohit-gohri
Copy link
Owner

Would something like what https://github.com/Gruntfuggly/todo-tree does work?

image

@ra100
Copy link
Author

ra100 commented Mar 22, 2021

Yes, if I could specify (part or whole) regex.
Right now, I have something like this:

/\/\/\W+TODO(?!\W+ISS-\d+)/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants