I spent a bit of time searching through the backlog of Issues (open and closed) to see if anyone had asked about this, but I couldn’t find any results.
What I’m after is a way to quickly show all ESLint comments in the TODO Tree, but without modifying the comments or adding new ones. I’d then do the same for Stylelint. I’d like to be able to apply this to several legacy projects that I’m updating.
Say I have a file with this at the top, I’d want these three rules to highlight in the Tree so that I can pay them some attention.
I spent a bit of time searching through the backlog of Issues (open and closed) to see if anyone had asked about this, but I couldn’t find any results.
What I’m after is a way to quickly show all ESLint comments in the TODO Tree, but without modifying the comments or adding new ones. I’d then do the same for Stylelint. I’d like to be able to apply this to several legacy projects that I’m updating.
Say I have a file with this at the top, I’d want these three rules to highlight in the Tree so that I can pay them some attention.
I’m currently adding an inline comment with an uppercase label, which is obviously not great due to the duplication involved.
I’ve tried adding
eslint-disable
andeslint-enable
totagGroups
but it doesn’t seem to pick them up. Is it the hyphen that it doesn’t like?Here’s the relevant config:
Thanks in advance.