How Should You Use an Auto-Formatter?

This page summarizes the projects mentioned and recommended in the original post on dev.to

InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. pyenv

    Simple Python version management

    In the case of pre-commit hooks, the runtime either has to be installed manually by every user (in the case of Husky) or is handled in Python (in the case of pre-commit). Running Node.js through Python/pyenv introduces an additional layer of complexity, which can lead to issues like OpenSSL library incompatibilities.

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. husky

    Git hooks made easy 🐶 woof!

    In the case of pre-commit hooks, the runtime either has to be installed manually by every user (in the case of Husky) or is handled in Python (in the case of pre-commit). Running Node.js through Python/pyenv introduces an additional layer of complexity, which can lead to issues like OpenSSL library incompatibilities.

  4. prettier

    Prettier is an opinionated code formatter.

    Overall, we could probably say that formatting on save is less complex than formatting in a pre-commit hook, because most of the heavy lifting is done by the editor and the extension. Take the case of Prettier, the most common formatter for JavaScript/TypeScript. Since it requires Node.js, we want to run it in a context that abstracts away the installation of the runtime.

  5. pre-commit

    A framework for managing and maintaining multi-language pre-commit hooks.

    In the case of pre-commit hooks, the runtime either has to be installed manually by every user (in the case of Husky) or is handled in Python (in the case of pre-commit). Running Node.js through Python/pyenv introduces an additional layer of complexity, which can lead to issues like OpenSSL library incompatibilities.

  6. Visual Studio Code

    Visual Studio Code

    On the other hand, if everyone on the team uses the same editor, then you aren't really gaining much by being editor-agnostic. And at the time of this writing (July 2024), most of the industry has consolidated around VSCode for many languages. (Some even consider VSCode to be better than paid-for alternatives like WebStorm.) Languages like Java won't necessarily have one-editor-to-rule-them-all, but if your language does, then the benefit of being editor-agnostic is obviously lessened.

  7. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
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

  • How one bad coder made our stack unbreakable

    1 project | dev.to | 18 May 2025
  • Refactoring Our Codebase with Ruff and Pre-commit: A Developer's Guide

    1 project | dev.to | 18 Apr 2025
  • Amazing `pre-commit` and How To Use It

    3 projects | dev.to | 26 Feb 2025
  • Generate pyproject.toml requirements and extras based on imports across projects

    1 project | news.ycombinator.com | 30 Sep 2024
  • Using TruffleHog and pre-commit hook to prevent secret exposure

    3 projects | dev.to | 25 Jul 2024

Did you know that JavaScript is
the 3rd most popular programming language
based on number of references?