The Tech Meta

An inside look at tech's evolving playbook

Formatter config

Test Basic observed

A formatter sets the code's layout, its config committed.

A formatter rewrites the layout of the code, its spacing, line breaks and quotes, to one style, and its config committed to the repo says which. It looks like a .prettierrc, a biome.json, a rustfmt.toml, a .clang-format, a dprint or Taplo config, among others. Teams use it to settle style once and keep diffs to real changes; an agent that runs the formatter writes in the house style too. The site counts a repo when such a config sits at the root or in a folder near it, or when prettier is in the root package.json.

  • Pro scene today: 68%, 151 of 221 pro repos
  • In three months: 0 pts
  • Kept: 97%, 151 of 155 that had it 3 months ago or before

Pro 68% · Ladder 39% · 1.8×

In the pro repos

The 6 most starred of the 151 pro repos that have it today.

By month

MonthPro scene
June 202566%
July 202567%
August 202567%
September 202567%
October 202567%
November 202567%
December 202567%
January 202667%
February 202667%
March 202667%
April 202667%
May 202667%
June 202667%
July 202668%
August 202668%
September 202668%
October 202668%
November 202668%
today68%

Evidence

Observed in the repos only: no published study is quoted for it yet.

How it is detected

Looks for a config of Prettier, Biome, Oxfmt, rustfmt, clang-format, dprint, Taplo, StyLua, SwiftFormat, scalafmt, ocamlformat, PHP CS Fixer, cljfmt, treefmt or yamlfmt, or .formatter.exs; prettier in the root package.json. Read in repo files. How the method counts

Related practices

More in Test, the most adopted first.

Levels of evidence