Ask Your Question
3

Can you provide information on the location of the description of the opinionated code format used by prettier?

asked 2021-05-12 11:00:00 +0000

ladyg gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
1

answered 2022-08-11 19:00:00 +0000

bukephalos gravatar image

Sure! The opinionated code format used by Prettier is documented in the project's GitHub repository under the "Options" section. Here is the direct link to the documentation: https://github.com/prettier/prettier#op…

Prettier is designed to have a "preference for readability" over any particular coding style. Therefore, the options available are designed to prioritize code clarity and consistency. Some of the main options available include formatting rules for indentation, line wrapping, object and array notation, and more.

Overall, Prettier aims to be easy to use and configure while still producing clean, consistent code.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2021-05-12 11:00:00 +0000

Seen: 8 times

Last updated: Aug 11 '22