Prettier - Open-source opinionated code formatter for easier editing

in #steemhunt6 years ago (edited)

Prettier

Open-source ppinionated code formatter for easier editing


Screenshots

Screen Shot 06-05-18 at 05.40 PM.PNG

Screen Shot 06-05-18 at 05.52 PM.PNG


Hunter's comment

What is Prettier?

Prettier is a tool used by developers to streamline code formatting.

It removes all of the original styling from the native code and ensures that all of the outputted code conforms to a consistent style all throughout.

It enforces a consistent code styling across your whole database which does not affect AST. It basically takes the essence out of your original code, and rephrases it to conform to certain rules without affecting performance and greatly improving ability to recognize codes becuase they become simpler and prettier.

As of the moment, Prettier is helpful for developers who use the following set of tools:

  • ES2017
  • JSX
  • Flow
  • TypeScript
  • Vue
  • JSON
  • CSS3+
  • Less
  • SCSS
  • styled-components
  • styled-jsx
  • GraphQL
  • GraphQL Schemas
  • CommonMark
  • GitHub Flavored Markdown

The team has also been working on the following tools to bring the Prettier essence onto them as well:

  • Elm (via elm-format)
  • Java
  • PHP
  • PostgreSQL
  • Python
  • Ruby
  • Swift

To know more about the Open Source project Prettier, head over to their official website and explore!

https://prettier.io/

Their documentation section contains an in-depth explanation of what Prettier is and what it does with your codes.


Here's their github link:

Some quick reviews over the web:

https://prettier.io/docs/en/index.html

That page also discusses this products usages, configuration and how-tos, technical details and other related projects.


Sample usage of Prettier in a YouTube video:


Link

https://prettier.io/?ref=steemhunt


Contributors

Hunter: @deveerei



Steemhunt.com

This is posted on Steemhunt - A place where you can dig products and earn STEEM.
View on Steemhunt.com


footer.png

deveerei new.png

deveerei.png

spacer.png

Source.png

Sort:  

Pros:

  • UI looks great.
  • A very helpful app for developers, especially for streamlining codes over their network.
  • Support for browsers.

Cons:

  • Can't think of any.

Hi @deveerei,

Thanks for your hunt. I’ve reviewed and approved it. The hunt is on!

Thanks a lot!

Loading...

Prettier is the best thing I ever used in my development workflow!

Pros:

  • Format codes in JavaScript, JSON, and TypeScript also!
  • Used plugins in Sublime and VSCode with edit on save, to format the codes for you.
  • can customize on your preferred setting (tabs/space, semicolon or not)
  • save tonnes of time on formatting, following standards given

Cons:

  • It does not being support in VIM mode, but there is CLI tools to format it.
  • When you don't want to format a certain line, it doesnt work like that.

Pros:

  • Open Source software so everyone could contribute

Cons:

  • May not be very easy to use it but a developer should understand the instructions on their website

Pros :

  • Design looks good
  • Open Source software
  • Since it's open source so everyone can contribute
  • Good for app developer

Cons :

Looks nothing for me

Pros:

  • Open Source (Hooray)
  • Perfect tool for developers
  • User friendly interface
  • Supports multiple tools
  • How- tos included

Cons:

  • None that I can think of

A very nice hunt, thanks for the info! :)

Pros:
Available in browser
very useful for developers especially for beginners
beautiful design
free and open source

Cons:
None

Pros:

  • Format codes in a wide variety of set tools
  • Awesome UI, easy to navigate
  • Open source

Cons:

  • None, very helpful tool

Pros

• Free to use
• Friendly App. You can open it in Browser
• UI is perfect
• Open Source

Cons

• None for me

Pros

• Free to use
• Friendly App. You can open it in Browser
• UI is perfect
• Open Source

Cons

• None for me

Pros:

Open Source (Hooray)
Perfect tool for developers
User friendly interface
Supports multiple tools
How- tos included
Cons:

None that I can think of

Pros:

  • Gives a unique code structure
  • Great output
  • Good for teams

Cons:

  • Very strict about linting rules

Congratulation! Your hunt was ranked in 12th place on 5 Jun 2018 on Steemhunt.

We have upvoted your post for your contribution within our community.
Thanks again and look forward to seeing your next hunt!

Want to chat? Join us on:

Hi @deveerei!

Your post was upvoted by utopian.io in cooperation with steemhunt - supporting knowledge, innovation and technological advancement on the Steem Blockchain.

Contribute to Open Source with utopian.io

Learn how to contribute on our website and join the new open source economy.

Want to chat? Join the Utopian Community on Discord https://discord.gg/h52nFrV