StackShareStackShare
Follow on
StackShare

Discover and share technology stacks from companies around the world.

Product

  • Stacks
  • Tools
  • Companies
  • Feed

Company

  • About
  • Blog
  • Contact

Legal

  • Privacy Policy
  • Terms of Service

© 2025 StackShare. All rights reserved.

API StatusChangelog
Prettier
ByPrettierPrettier

Prettier

#3in Code Review
Stacks8.18kDiscussions84
Followers1.32k
OverviewDiscussions84

What is Prettier?

Prettier is an opinionated code formatter. It enforces a consistent style by parsing your code and re-printing it with its own rules that take the maximum line length into account, wrapping code when necessary.

Prettier is a tool in the Code Review category of a tech stack.

Key Features

An opinionated code formatterSupports many languagesIntegrates with most editorsHas few optionsYou press save and code is formattedNo need to discuss style in code reviewSaves you time and energy

Prettier Pros & Cons

Pros of Prettier

  • ✓Customizable
  • ✓Atom/VSCode package
  • ✓Completely free
  • ✓Follows the Ruby Style Guide by default
  • ✓Open Source
  • ✓Runs offline

Cons of Prettier

No cons listed yet.

Prettier Alternatives & Comparisons

What are some alternatives to Prettier?

ESLint

ESLint

A pluggable and configurable linter tool for identifying and reporting on patterns in JavaScript. Maintain your code quality with ease.

TSLint

TSLint

An extensible static analysis tool that checks TypeScript code for readability, maintainability, and functionality errors. It is widely supported across modern editors & build systems and can be customized with your own lint rules, configurations, and formatters.

SonarQube

SonarQube

SonarQube provides an overview of the overall health of your source code and even more importantly, it highlights issues found on new code. With a Quality Gate set on your project, you will simply fix the Leak and start mechanically improving.

RuboCop

RuboCop

RuboCop is a Ruby static code analyzer. Out of the box it will enforce many of the guidelines outlined in the community Ruby Style Guide.

Stylelint

Stylelint

A mighty, modern CSS linter that helps you enforce consistent conventions and avoid errors in your stylesheets.

JSHint

JSHint

It is a community-driven tool to detect errors and potential problems in JavaScript code. It is open source and can easily adjust in the environment you expect your code to execute.

Prettier Integrations

Nova, GraphQL, JavaScript, TypeScript, Flow and 6 more are some of the popular tools that integrate with Prettier. Here's a list of all 11 tools that integrate with Prettier.

Nova
Nova
GraphQL
GraphQL
JavaScript
JavaScript
TypeScript
TypeScript
Flow
Flow
Vue.js
Vue.js
AngularJS
AngularJS
markdown
markdown
YAML
YAML
Less
Less
Next.js Enterprise Boilerplate
Next.js Enterprise Boilerplate

Prettier Discussions

Discover why developers choose Prettier. Read real-world technical decisions and stack choices from the StackShare community.

Russel Werner
Russel Werner

Lead Engineer at StackShare

Mar 11, 2019

Needs adviceonPrettierPrettierESLintESLintWebStormWebStorm

We use Prettier because when we rebooted our front-end stack, I decided that it would be an efficient use of our time to not worry about code formatting issues and personal preferences during peer review. Prettier eliminates this concern by auto-formatting our code to a deterministic output. We use it along with ESLint and have 1st-class support in our WebStorm and Visual Studio Code editors.

0 views0
Comments
Lars Lockefeer
Lars Lockefeer

Mobile Tech Lead at Picnic Technologies

Dec 3, 2018

Needs adviceonReact NativeReact NativeTypeScriptTypeScriptReduxRedux

Earlier this year, we started developing a new app to help our runners deliver groceries to our customers. We chose React Native over a native app or a PWA and are really happy with it. So far, we really like what we are seeing. Development speed is fast and the tooling is awesome. The “learn once, write anywhere”-promise is really fulfilled and when we ran our project for the first time on iOS after a few weeks of development, we were excited to see how well it worked and what it looked like.

Read our blog post to learn more about how we use React Native, TypeScript, Redux, RxJS, CodePush, styled-components, React Storybook, Jest, and Prettier to develop this app, as well as our thought of what else we will do with it at Picnic.

0 views0
Comments
Arik Fraimovich
Arik Fraimovich

Dec 3, 2018

Needs adviceonPrettierPrettierJavaScriptJavaScriptPythonPython

As our product is open source and gets contributions from many developers we needed something to help us with a consistent code style. We chose Prettier for our JavaScript code and autopep8 for out Python code.

0 views0
Comments
Johnny Bell
Johnny Bell

Software Engineer

Oct 23, 2018

Needs adviceonFirebaseFirebaseReactReactReduxRedux

I was building a personal project that I needed to store items in a real time database. I am more comfortable with my #Frontend skills than my backend so I didn't want to spend time building out anything in Ruby or Go.

I stumbled on Firebase by #Google, and it was really all I needed. It had realtime data, an area for storing file uploads and best of all for the amount of data I needed it was free!

I built out my application using tools I was familiar with, React for the framework, Redux to manage my state across components, and styled-components for the styling.

Now as this was a project I was just working on in my free time for fun I didn't really want to pay for hosting. I did some research and I found Netlify. I had actually seen them at #ReactRally the year before and deployed a Gatsby site to Netlify already.

Netlify was very easy to setup and link to my GitHub account you select a repo and pretty much with very little configuration you have a live site that will deploy every time you push to master.

With the selection of these tools I was able to build out my application, connect it to a realtime database, and deploy to a live environment all with $0 spent.

If you're looking to build out a small app I suggest giving these tools a go as you can get your idea out into the real world for absolutely no cost.

0 views0
Comments
Johnny Bell
Johnny Bell

Software Engineer

Sep 24, 2018

Needs adviceonGitGitPrettierPrettierVisual Studio CodeVisual Studio Code

I've been in the #frontend game for about 7 years now. I started coding in Sublime Text because all of the tutorials I was doing back then everyone was using it. I found the speed amazing compared to some other tools at the time. I kept using Sublime Text for about 4-5 years.

I find Sublime Text lacks some functionality, after all it is just a text editor rather than a full fledged IDE. I finally converted over to PhpStorm as I was working with Magento and Magento as you know is mainly #PHP based.

This was amazing all the features in PhpStorm I loved, the debugging features, and the control click feature when you click on a dependency or linked file it will take you to that file. It was great.

PhpStorm is kind of slow, I found that Prettier was taking a long time to format my code, and it just was lagging a lot so I was looking for alternatives. After watching some more tutorial videos I noticed that everyone was using Visual Studio Code. So I gave it a go, and its amazing.

It has support for everything I need with the plugins and the integration with Git is amazing. The speed of this IDE is blazing fast, and I wouldn't go back to using PhpStorm anymore. I highly recommend giving Visual Studio Code a try!

0 views0
Comments

Try It

Visit Website

Adoption

On StackShare

Companies
727
ANSMSS+721
Developers
2.27k
YCSLLY+2268