Prettier Alternatives

Similar projects and alternatives to prettier

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better prettier alternative or higher similarity.

Suggest an alternative to prettier

Reviews and mentions

Posts with mentions or reviews of prettier. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-10-17.
  • Understanding the Modern Web Stack: Prettier | 2021-10-17
    Prettier in their own words is an opinionated code formatter for Javascript. What this means is that although it is configurable to some degree, the majority of the decisions it makes about how your code should be formatted are automatic and built into the tool itself.
  • Refactoring and Git Rebase | 2021-10-15
    To practice, I worked on refactoring my dodo-SSG project in a new branch that I called refactoring. I started by fixing the code format from previous contributions using prettier. I then changed the code to get rid of global variables. To do that, I had to split up some code into separate smaller functions. At each of these steps, I created a new commit to make sure I could easily go back to the previous version if anything broke (And things broke a lot while doing this!).
  • The history and reasons behind CORS, and how to use it | 2021-10-14
    Author here! I used to have strong feelings about formatting stuff like this, but I since realised there are better things to spend effort on.

    For formatting, I just let do it's thing, and it added the />. Although I do configure it to use single quotes in JS, so I guess I still have some opinion there.

    In terms of HTML, how far does your "but it isn't necessary" opinion go? Lots of closing elements are unnecessary in HTML, for instance, check out the source of | 2021-10-14
    If you're interested, the discussion rages on in
  • Library to format JSON with PHP | 2021-10-12
    I currently use json_encode($text, JSON_PRETTY_PRINT) which is really great, but I need a bit more flexibility, or something more sensible like
  • Must-see + collection, build a vite-react-cil enterprise scaffolding from scratch | 2021-10-09
    The configuration file of prettierrc can also be a js file. For the specific configuration and usage of prettierrc, please refer to Official Website .prettierignore write the following code:
  • Three cool projects to contribute to during Hacktoberfest | 2021-10-07
  • C# Linting and Formatting Tools in 2021 | 2021-10-03
    The JavaScript ecosystem has amazing tools for formatting and statically analyzing your code: Prettier and ESLint. Both tools have nearly universal adoption and deliver significant value.
  • Setup ESLINT and PRETTIER in React app | 2021-09-25
    Prettier is an opinionated code formatter which is compatible with most of the languages. It saves a lot of time. It quickly indents our code on save (depends on VSCode/editor settings).
  • React Tailwind TypeScript Starter Template Free and Open Source | 2021-09-22
    🛠 Code Formatter with Prettier
  • It's too peaceful here, let's start a flame war
    Depends a bit on your stack, but when working with js/ts, prettier is the go-to formatter (black for python), and husky is the go-to pre-commit hook tool. I'm fairly confident all major IDEs will have support for format on save. If your IDE doesn't, maybe google it and see if another IDE with support for it exists. Ususally, there will at least be a plugin/extension for it. In the case it doesn't exist - really, do yourself a favor and consider that your IDE is not the best one out there, and that you could benefit from trying out a new one.
  • What are some good habits a beginner should develop to keep his codes clean and pleasant to read ?
  • Prettier, ESLint and Typescript | 2021-09-20
    The first tool I want to explore is Prettier. I would leave it to you to read more about what it is but, in short, it is a code formatter. What does it mean? It means that it will keep your codebase consistent (in terms of coding style). Do you use ;? If yes, it will ensure that all your files have it, for example. I like it for two reasons: we barely have to discuss code formatting and it is easy to onboard new members to the team.
  • Collaborating via Github | 2021-09-17
    It took me some time to go through Hung's code and to clearly understand all the logic behind it. Since the beginning of my studies at Seneca, I have done a lot of code writing but very little code reading. Everyone has a different coding style so I understand why big projects tend to use clear guidelines when it comes to code formatting (for example using Prettier).
  • JSLint Error: Expected one space between ',' and 'playerOptions'
    It looks like you're using a very opinionated code style linter that doesn't just autofix your code for you. I would advise you to use prettier as it will automatically format your code in a consistent style, and eslint for linting other code quality issues as it is by far the most popular linter for JS today. However these are very subjective opinions and I'm sure some will disagree with me.


Basic prettier repo stats
1 day ago

prettier/prettier is an open source project licensed under MIT License which is an OSI approved license.

Scout APM: A developer's best friend. Try free for 14-days
Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.
Find remote JavaScript jobs at our new job board There are 17 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.