Why use prettier if ESLint can format?

This page summarizes the projects mentioned and recommended in the original post on /r/node

SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
  • eslint-plugin-prettier

    ESLint plugin for Prettier formatting

  • Another approach that you can also take is a sort of "prettier as an ESLint plugin" option, such with eslint-plugin-prettier. The idea is that the developer only needs to run one tool (ESLint), but you add a plugin to ESLint that just calls prettier and converts the prettier error messages to ESLint error messages. I've worked at companies that have used this approach, and it makes setting up your editor/IDE very simple, because you've only got one tool to configure. That said, I personally don't like it because it forces you to use ESLint's "auto fix" functionality, which I find works well for formatting, but IME less well for some of the other lints.

  • typescript-eslint

    :sparkles: Monorepo for all the tooling which enables ESLint to support TypeScript

  • This would be fine, but ESLint devs couldn't fix certain issues with some of their formatting rules https://github.com/typescript-eslint/typescript-eslint/issues/1824 Maintaining a formatter and linter in one tool is more difficult.

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • tools

    Discontinued Unified developer tools for JavaScript, TypeScript, and the web

  • Not sure if you're being serious, but there are definitely people working on tools to replace ESlint/Prettier, but it will be a long time until those have any sort of meaningful adoption, if they even succeed at all.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • [AskJS] Why is is prettier used if eslint can format?

    3 projects | /r/javascript | 11 Mar 2022
  • How to Do a TypeScript Conversion: an opinionated take on gradual conversions

    2 projects | news.ycombinator.com | 4 Nov 2023
  • How do I add additional rules to my typescript-eslint settings?

    1 project | /r/learnjavascript | 20 Sep 2023
  • What's the best config for typescript-eslint?

    1 project | /r/typescript | 20 Sep 2023
  • How do you add angular-eslint to your typescript-eslint config?

    1 project | /r/angular | 20 Sep 2023