[BUG] Ignore patterns does not work when symbol also has doccomment
See original GitHub issueConsider this:
/**
* Foo is foo
*/
// ts-prune-ignore-next
export const foo = 2
I’d expect ts-prune to not report on foo. However, I’m getting this output:
src/foo.ts:7 - foo
This works, though:
/**
* Foo is foo
* ts-prune-ignore-next
*/
export const foo = 2;
This is a bit unfortunate, because this causes ts-prune-ignore-next to show up in the hover tooltip in my IDE. I’d expect ts-prune to work the same way as eslint, where disable comments can be below doccomments, in the inline form.
Thanks for creating a great tool!
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
file_header should ignore doc comments · Issue #1719 - GitHub
My file_header config is: file_header: forbidden_pattern: ".?" I.e. forbid file headers. But I have some types with documentation comment on ...
Read more >regex - Pylint ignore-patterns Not Working - Stack Overflow
So, tmplocal.py , tmp.local.py , tmp_local.py , local_tmp.py , etc. When running Pylint (1.7.2), these files are not ignored. Any suggestions?
Read more >How to Write Doc Comments for the Javadoc Tool - Oracle
This document describes the style guide, tag and image conventions we use in documentation comments for Java programs written at Java Software, ...
Read more >Options - TypeDoc
When TypeDoc loads a tsconfig.json file, it also will read TypeDoc options ... Removes symbols from the generated documentation which do not have...
Read more >Documentation comments - C# language specification
A conforming C# compiler is not required to check the syntax of ... character on the second line is an ASTERISK and the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

#80 should do to the trick. Thanks for pointing me in the right direction!
🎉 This issue has been resolved in version 0.7.4 🎉
The release is available on:
Your semantic-release bot 📦🚀