Open bartekpacia opened 10 months ago
So https://dart.dev/tools/linter-rules/flutter_style_todos but without the variant that has no link?
Yes, pretty much. I didn't know that lint exists, thanks.
Regarding multiline todos - how about prefixing them with a tab? They'd also be treated as a one TODO by VSC which we would not achieve using the options from the description (at least by default, according to my knowledge).
// TODO: set reasonable duration or create new exception for this case
// See https://github.com/leancodepl/patrol/issues/2137
Thanks @FirentisTFW - this is great. I'm curious whether the flutter_style_todos
lint would recognize it in the same way as VSCode.
In Patrol, I have accumulated many
TODO
comments, and I'm not happy with their quality. I would like to be able enforce "good TODOs" - TODOs that have a link to a GitHub issue so the team doesn't lose track of them.Examples
BAD
GOOD
or we could go full-minimalism style - just require the issue number:
To paraphrase:
See #<github-issue-number
at the endQuestion
I'm not sure how multiline TODOs should be treated. Should it be:
or:
?