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

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/javascript

Our great sponsors
  • Appwrite - The Open Source Firebase alternative introduces iOS support
  • Scout APM - Less time debugging, more time building
  • SonarLint - Clean code begins in your IDE with SonarLint
  • typescript-eslint

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

    I like to refer back to https://github.com/typescript-eslint/typescript-eslint/issues/1824 as to why you shouldn't force eslint to do everything.

  • eslint-plugin-prettier

    ESLint plugin for Prettier formatting

    I personally use eslint-plugin-prettier so Prettier formatting issues are shown in my editor and are reported when linting using ESLint.

  • Appwrite

    Appwrite - The Open Source Firebase alternative introduces iOS support . Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!

  • ESLint

    Find and fix problems in your JavaScript code.

    I don’t think this negates the point you’re making but comma-dangle is kind of a special case and does have a syntax-based origin. It used to be called no-comma-dangle and was added due to IE8 not supporting trailing commas in objects despite being valid per the ECMAScript 5 and ECMAScript 3 specs.

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