textlint-rule / textlint-rule-no-todo

textlint rule that check TODO text.
MIT License
12 stars 7 forks source link

Q: Can you add custom configuration to ignore TODOs when they come with a Jira ID? #7

Closed Evgenios95 closed 2 years ago

Evgenios95 commented 2 years ago

In my project, I use a Format which is of the following format:// TODO [TIE-1329]:

For consistency reasons, I would like to be able to install textlint-rule-no-todo, but configure it in such a way, that if the TODO is followed by [] and an ID inside it, it shouldn't throw errors.

Is that possible in any way at the moment?

azu commented 2 years ago

No. I've created this rule for documentation of textlint. https://textlint.github.io/docs/rule.html So, It has only minimal feature.

You can creating another rule or use next rule. https://github.com/textlint-rule/textlint-rule-pattern