Skip to content

Line breaking happening at 96 print width? #168

Description

@vincerubinetti

Not sure if this is related to #8 ?

95 characters:

image

96 characters:

image

I'd expect it to wrap such that no characters (including the comment characters) exceed the print width (shown in the screenshot with the vertical line).

This is my .prettierrc:

{
  "plugins": ["./node_modules/prettier-plugin-jsdoc"],
  "jsdocCapitalizeDescription": false,
}

No override of the default printWidth of 80, so it should be 80. Also the rest of my code formats properly to 80.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions