I think Biome is quite good, but it might not have every rule you want. Regardless if you are looking for a easy and straightforward linting and formatting tool, i recommend it Answer from teg4n_ on reddit.com
๐ŸŒ
Medium
medium.com โ€บ @jogarcia โ€บ try-biome-an-alternative-to-prettier-and-eslint-319497615eda
Try Biome. An alternative to Prettier and Eslint | by Jose Garcia | Medium
May 27, 2025 - Biome is both a linter and formatter for Javascript(JS) and Typescript(TS). Itโ€™s an alternative to Prettier and Eslint.
๐ŸŒ
Reddit
reddit.com โ€บ r/typescript โ€บ are any of the eslint alternatives "ready"?
r/typescript on Reddit: Are any of the eslint alternatives "ready"?
July 5, 2024 -

Just tried to update all my project's dependencies. Eslint is now at 9.6.0 but several of my other dependencies do not yet work with even 9.0.0. Upgrading the config seems like an absolute nightmare - there's an autoupgrader, but a) it generated javascript with syntax errors and b) when I fixed the syntax errors, it still wouldn't work (the storybook plugin specifically) despite being wrapped in a `compat` call.

So... I'm usually v conservative about switching away from boring tools, but eslint is feeling tedious for the wrong reasons atm. I've seen a bunch of alternatives floating about - are any of them mature enough to make the switch (and are any reasonably painless to switch to?)

๐ŸŒ
Medium
medium.com โ€บ navara โ€บ biome-the-faster-lint-and-formatting-alternative-to-prettier-12fcf8b122b9
Biome: The Faster Lint and Formatting Alternative to Prettier
January 12, 2024 - The benchmark results consistently show that Biome outperforms Prettier in both formatting and linting. Biome is significantly faster than Prettier and dprint for formatting and faster than ESLint for linting.
๐ŸŒ
freeCodeCamp
freecodecamp.org โ€บ news โ€บ alternatives-to-prettier
Alternatives to Prettier โ€“ Popular Code Linting and Formatting Tools
March 15, 2023 - In this guide, we will talk about the Prettier code formatter. We will also talk about alternatives to Prettier like JsFmt, StandardJS, EsLint + EditorConfig, and Beautifier.
๐ŸŒ
Sonatafy Technology
sonatafy.com โ€บ home โ€บ biomejs: an alternative to prettier and eslint
BiomeJS: An Alternative to Prettier and ESLint
August 30, 2024 - Discover BiomeJS, an alternative tool to Prettier and ESLint for streamlining and enhancing your code formatting and linting processes.
๐ŸŒ
Oxycon Blog
blog.oxyconit.com โ€บ biomejs-a-35x-faster-alternative-to-prettier-for-formatting-and-linting
BiomeJS - A 35x faster alternative to Prettier for formatting and linting
June 30, 2024 - prettier eslint prettier-plugi... eslint-react-refresh ... Now the dependency list is much smaller! BiomeJS is a powerful tool that offers a faster alternative to Prettier....
๐ŸŒ
Biome
biomejs.dev โ€บ guides โ€บ migrate-eslint-prettier
Migrate from ESLint and Prettier | Biome
To ease the migration, Biome provides the biome migrate eslint subcommand. This subcommand will read your ESLint configuration and attempt to port its settings to Biome. The subcommand is able to handle both the legacy and the flat configuration files. It supports the extends field of the legacy configuration and loads both shared and plugin configurations.
Find elsewhere
๐ŸŒ
DEV Community
dev.to โ€บ saswatapal โ€บ why-i-chose-biome-over-eslintprettier-20x-faster-linting-one-tool-to-rule-them-all-10kf
Why I Chose Biome Over ESLint+Prettier: 20x Faster ...
December 6, 2025 - With ESLint+Prettier: Install 10 packages, configure 3 files, resolve conflicts, run two commands. 28-second wait. Flow state destroyed. For a modern TypeScript/React monorepo, Biome was a no-brainer. # Install Biome pnpm add -D @biomejs/biome # Verify installation npx @biomejs/biome --version # Should show 1.6.4 or higher ยท # Create biome.json with defaults npx @biomejs/biome init # Or migrate from ESLint (if you have .eslintrc.js) npx @biomejs/biome migrate eslint --write
๐ŸŒ
Bomberbot
bomberbot.com โ€บ clean-code โ€บ alternatives-to-prettier-popular-code-linting-and-formatting-tools
Alternatives to Prettier โ€“ Popular Code Linting and Formatting Tools - Bomberbot
January 6, 2025 - Letโ€˜s take an in-depth look at four leading alternatives to Prettier: JsFmt, StandardJS, ESLint with EditorConfig, and JS Beautifier.
๐ŸŒ
Oreate AI
oreateai.com โ€บ blog โ€บ a-complete-guide-to-using-eslint-as-a-replacement-for-prettier-for-code-formatting โ€บ 5ef4521974ae9c326f9a0e6c2d44fd17
A Complete Guide to Using ESLint as a Replacement for Prettier for Code Formatting - Oreate AI Blog
January 7, 2026 - Compared with Prettier's one-size-fits-all approach, ESLint provides finer-grained control that allows teams to customize more precise coding style specifications based on project needs. This alternative is particularly suitable for projects that already rely heavily on ESLint, avoiding configuration conflicts and performance overhead associated with maintaining two formatting tools simultaneously.
๐ŸŒ
DZone
dzone.com โ€บ coding โ€บ languages โ€บ the ultimate guide to code formatting: prettier vs eslint vs biome
The Guide to Code Formatting: Prettier vs ESLint vs Biome
May 29, 2025 - If you are already using or have ever used Prettier and feel that it's enough for you, I would recommend that you definitely try Biome for more speed, flexibility and code linting.
Top answer
1 of 5
182

In my experience, the best combination is all 3, and here's why:

EditorConfig: This helps your editor produce code that looks like your style guide as you go. While this isn't strictly necessary in order to achieve your goals, it's nice if you're always looking at code that follows the same coding styles. Otherwise if you don't have EditorConfig, as you're typing your editor will auto-format differently to the rest of the code base, which is confusing. Of course if you've set up prettier it'll fix it before it goes into your code base, but still, why would you want to look at it in one format while you're writing it and then have it switch when you go to commit? Might as well be consistent.

Prettier: Automatically formats your code. I like to set it up to do this when I stage my files for a commit, so that it's physically impossible for me to commit code that doesn't match my style guide.

ESLint: So why would you want a linter too? Because ESLint does more than just style. It picks up when you declare variables you don't use, or reference things that aren't defined, amongst a few other niceties. So while its role diminishes somewhat compared to the days before prettier, it's still useful to have in a project to catch the other errors.

2 of 5
33

Prettier

It removes all original styling and ensures that all outputted code conforms to a consistent style.

  • It changes your code after writing your code.
  • For example
    • on save with the Visual Studio Code editor
    • with a CLI like prettier --write .

Editorconfig

EditorConfig helps maintain consistent coding styles for multiple developers working on the same project across various editors and IDEs.

  • It applies your rules before writing code
    • For example
      • When you press TAB, it leaves four spaces.

ESLint

ESLint statically analyzes your code to quickly find problems.

  • ESLint finds problems in your code

To summarize:

  • EditorConfig changes your editor settings.
  • Prettier updates your code with your rules to reshape your code.
Finally:
  • They have some common features in order to do the same things.
  • I also agree with KevinBrownTech to use three of them. Especially if you are working with a team.

Useful sources for who want to dive into:

  • Feross Aboukhadijeh: Write Perfect Code With Standard And ESLint - JSConf.Asia 2018
  • JavaScript Standard Style

Also look at the React framework's repository:

๐ŸŒ
Stackademic
blog.stackademic.com โ€บ biome-a-faster-unified-alternative-to-eslint-and-prettier-7767ed2637bd
Biome: A Faster, Unified Alternative to ESLint and Prettier | by Abhishek kumaar | Stackademic
March 24, 2025 - Feature ESLint + Prettier Biome Linting โœ… Yes โœ… Yes (Built-in) Formatting โœ… Yes (Prettier required) โœ… Yes (Built-in) Performance โš ๏ธ Can be slow on large codebases ๐Ÿš€ Lightning fast Setup Complexity โš ๏ธ Requires multiple plugins ...
๐ŸŒ
ekino
ekino.fr โ€บ home โ€บ publications โ€บ is biome ready to replace prettier & eslint?
Is Biome ready to replace Prettier & ESLint? - Ekino FR
April 28, 2025 - ESLint and Prettier remain top choices for any project while Biome and OXC, still young and incomplete, provide a good alternative for small projects and developers in search of lightweight linting and formatting.
๐ŸŒ
Kitty Giraudel
kittygiraudel.com โ€บ 2024 โ€บ 06 โ€บ 01 โ€บ from-eslint-and-prettier-to-biome
From ESLint and Prettier to Biome | Kitty Giraudel
Biome advertises itself as a unique toolchain for a web project, enabling linting, formatting and more at high speed. Sounds promising! It should be able to replace both ESLint and Prettier, which would be nice.
Top answer
1 of 12
34

Let's see why we are getting this error.

  1. If you have installed the prettier extension in your VSCode then the default values are set as mentioned here which can be seen by searching prettier in the settings of VSCode as well.

  2. Now if you have enabled formatOnSave in your VSCode the prettier formats your code based on configs from the VSCode.

  3. This error would occur when the configs from the VSCode conflicts from the configs mentioned in .prettierrc.json or .eslintrc.json.

Ex: Let's say your project is using a printWidth of 100 but the default printWidth is 80. ( Search prettier printwidth in VSCode settings )

In general the spacing errors will be autoCleared ( autoFormatted ) on save by prettier. But in this case that won't work.

Reason: Prettier is sticking to the config ( printWidth: 80 ) which is an error according to Repo's eslintrc/ prettierrc ( printWidth: 100 )

Fix here

  1. Change default VSCode Prettier configs. -> This would be a bad idea as it will effect all your projects opened in VSCode.

  2. Better way to fix this issue is by adding a .vscode/settings.json in the root directory of the repo.

  3. Add these lines in the settings.json

    {
      "editor.codeActionsOnSave": { "source.fixAll": true },
      "editor.formatOnSave": false,
    } 
    
  4. Now go to files with errors and save the files to format. Files will be formatted according to the configs mentioned in project's eslintrc/ prettierrc

  5. Instead of going to each file you can fix all autofixable problems from the command line as below.

  6. Go to package.json and add this line to your scripts.

    "lint-fix": "eslint --fix 'src/**/*.{js,jsx,ts,tsx,json,css,scss,md}'",

  7. Now in the terminal run npm run lint-fix.

2 of 12
13

I had the same issue, in the eslinrc.json file under "prettier/prettier", I removed printWidth.

๐ŸŒ
GitHub
github.com โ€บ prettier โ€บ prettier-eslint
GitHub - prettier/prettier-eslint: Code `prettier` `eslint --fix` Formatted Code :sparkles: ยท GitHub
This is great if you want to use prettier, but override some of the styles you don't like using eslint --fix. An alternative approach is to use different tools for different concerns. If you provide prettierLast: true, it will run eslint --fix ...
Author ย  prettier
๐ŸŒ
Gojek
blog.gojekengineering.com โ€บ eslint-prettier-for-a-consistent-react-codebase-eaa673debb1d
Everything you wanted to know about Gojek and how we do what we do.
March 28, 2018 - The blog section provides valuable information on Gojek's engineering ideals, our culture, and insights on where we failed and what we learnt in the process.