We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When escaping backslashes (\\), prettier-plugin-jsdoc will incorrectly remove every backslash that precedes a non-escapable character.
\\
prettier-plugin-jsdoc
/** * \\\\ */
/** * \ */
/** * \\\\- */
/** * - */
The text was updated successfully, but these errors were encountered:
I added your comments to tests 33afeb7
Sorry, something went wrong.
@hosseinmd oof! i've managed to get a repro working.
with the input:
/** \\\\ */
npx prettier index.js -w will produce:
npx prettier index.js -w
/** \\ */
npx eslint index.js --fix will produce:
npx eslint index.js --fix
/** \ */
versions from package.json:
package.json
"eslint": "^8.11.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-prettier": "^4.0.0", "prettier": "^2.6.0", "prettier-plugin-jsdoc": "^0.3.31"
No branches or pull requests
When escaping backslashes (
\\
),prettier-plugin-jsdoc
will incorrectly remove every backslash that precedes a non-escapable character.Escaping multiple backslashes together
Input
Expected
Actual
Escaping backslashes before unescapable character
Input
Expected
Actual
The text was updated successfully, but these errors were encountered: