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

The remarks tag formatting is inconsistent #213

Open
mcaroff-wallix opened this issue Oct 16, 2023 · 2 comments
Open

The remarks tag formatting is inconsistent #213

mcaroff-wallix opened this issue Oct 16, 2023 · 2 comments

Comments

@mcaroff-wallix
Copy link

mcaroff-wallix commented Oct 16, 2023

I get one of two formats depending on the system I'm on:

Windows: (flat):

/**
 * @remarks
 * text
 */

Linux: (indented):

/**
 * @remarks
 *   text
 */

Note: this issue may actually not be related to the OS, it may be due to something else.

Environment

.prettierrc.js:

{
  tsdoc: true
}

Versions:

    "prettier-plugin-jsdoc": "1.0.2",
    "prettier": "3.0.3",

Edit: added names "(flat)" and "(indented)", to format results.

@hosseinmd
Copy link
Owner

Hi dear,
What is your node version?

@mcaroff-wallix
Copy link
Author

Hi hosseinmd, it turns my node version is different on my two OS-es:

> # windows
> node --version
v16.20.1
$ # linux
$ node --version
v20.6.1

I also looked in our Gitlab CI, where this issue first appeared. We have this:

$ node -v
v16.16.0

Somehow the formatting produced in my Linux VM has changed and is now (flat), the same as on my Windows:

/**
 * @remarks
 * text
 */

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

2 participants