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

tsdoc-unnecessary-backslash false positive #362

Open
cowwoc opened this issue Jul 17, 2023 · 0 comments
Open

tsdoc-unnecessary-backslash false positive #362

cowwoc opened this issue Jul 17, 2023 · 0 comments

Comments

@cowwoc
Copy link

cowwoc commented Jul 17, 2023

Given the following description:

/**
 * <ul>
 * <li>Lines always end with <code>\n</code> or <code>\0</code>. The former denotes a newline. The latter
 * denotes the end of the string.</li>
 * </ul>
*/

tsdoc-unnecessary-backslash complains about \n and \0: tsdoc-unnecessary-backslash: A backslash can only be used to escape a punctuation character.

Expected behavior: the documentation should contain the literal string \n and \0.

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

No branches or pull requests

1 participant