---
title: "Prettier's Prose Wrap and eslint maximum-line-length error"
description:
  "A walk-through about prettier's proseWrap option and eslint
  maximum-line-length error"
canonical_url: "https://www.bigbinary.com/blog/prettier-prose-wrap-option"
markdown_url: "https://www.bigbinary.com/blog/prettier-prose-wrap-option.md"
---

# Prettier's Prose Wrap and eslint maximum-line-length error

A walk-through about prettier's proseWrap option and eslint maximum-line-length
error

- Author: Mazahir B Haroon
- Published: February 9, 2021
- Categories: JavaScript

If you go through the Prettier's Prose Wrap documentation, you can see that it
provides 3 options, that is

- `"always"` - Wrap prose if it exceeds the print width.
- `"never"` - Do not wrap prose.
- `"preserve"` - Wrap prose as-is. (First available in v1.9.0)

Now, this does not exactly give a clear idea on what each feature does, and it
could be a little confusing especially between the `"never"` and `"preserve"`
options.

In the below video we walk you through these options and tries to get you a
clear idea on Prettier's Prose Wrap and its use-case.

<div class="youtube-video-container">
  <iframe
    width="560"
    height="315"
    src="https://www.youtube.com/embed/2LN3JfopqTY"
    frameborder="0"
    allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
    allowfullscreen
  ></iframe>
</div>

## Links to the pages mentioned in the above video

- [Prose Wrap Documentation](https://prettier.io/docs/en/options.html#prose-wrap)
- [Prettier's Philosophy](https://prettier.io/docs/en/option-philosophy.html)
- [Prettier's Playground](https://prettier.io/playground/)
- [Github comments not compliant with GFM soft line breaks?](https://github.com/isaacs/github/issues/1013)

## Links

- [Human page](https://www.bigbinary.com/blog/prettier-prose-wrap-option)
