Skip to content

Incorrect line wrapping when string templating #80

Answered by schoero
Vanja-S asked this question in Q&A
Discussion options

You must be logged in to vote

It looks like you use windows style line breaks in your code editor while the plugin is set to produce unix style line breaks by default.
Change the lineBreakStyle to "windows".

{
  // ...
  "readable-tailwind/multiline": ["warn", { "printWidth": 100, "lineBreakStyle": "windows" }]
  // ...
}

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Vanja-S
Comment options

Answer selected by Vanja-S
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants