install both plugins for vscode itself install prettier and eslint as dev dependencies install eslint-config-prettier create a .eslintrc.js and begin configuring.... here is where most of the issues arise as its a jungle of information out there on how to do that properly if you want to skip the entire ordeal, I built my own eslint config which supports both out of the box without any setup needed if youre happy with the defaults. Answer from careseite on reddit.com
🌐
GitHub
gist.github.com › karpolan › 2c573b5767bc9b65db9936c7fad4daac
Prettier config for React App · GitHub
Prettier config for React App. GitHub Gist: instantly share code, notes, and snippets.
🌐
Prettier
prettier.io › docs › configuration
Configuration File · Prettier
A .prettierrc.toml file. ... The configuration file will be resolved starting from the location of the file being formatted, and searching up the file tree until a config file is (or isn’t) found.
🌐
Medium
zakimohammed.medium.com › react-prettier-eslint-configuration-22bf2cd77127
React Prettier ESLint Configuration | by Shaikh Zaki Mohammed | Medium
April 7, 2024 - ... Here, the VS Code ESLint extension start showing errors on these formatting issues. ... npm run prettier:check > react-eslint-prettier@0.0.0 prettier:check > prettier --config .prettierrc.cjs --check .
🌐
DEV Community
dev.to › vikasparmar › prettier-configuration-for-reactnextjs-projects-2025-4oh5
Prettier Configuration for React/Next.js Projects | 2026 - DEV Community
1 week ago - This is where Prettier comes in - it automatically formats your code so you and your team can focus on what matters: building great features. ... { "singleQuote": true, "trailingComma": "es5", "arrowParens": "always", "tabWidth": 2, "useTabs": false, "printWidth": 100, "bracketSpacing": true, "jsxSingleQuote": false, "jsxBracketSameLine": false, "semi": true, "importOrder": [ "^react$", "^next", "<THIRD_PARTY_MODULES>", "^@/components/(.*)$", "^@/utils/(.*)$", "^[./]" ], "importOrderSeparation": true, "importOrderSortSpecifiers": true }
🌐
Imaginary Cloud
imaginarycloud.com › blog › how-to-configure-eslint-prettier-in-react
How to configure ESLint and Prettier in React
So the result was to use two of the most used ESLint configurations: ... Rules for JavaScript best practices and code standards. Examples can be found in Airbnb documentation ... Disable conflicting rules with Prettier tool and adds code style format rules, this is also applied to jsx code from React applications
🌐
DEV Community
dev.to › knowankit › setup-eslint-and-prettier-in-react-app-357b
Setup ESLINT and PRETTIER in React app - DEV Community
September 26, 2021 - Please check each of their git repositories. eslint-config-prettier - Turns off all rules that are unnecessary or might conflict with Prettier. eslint-plugin-prettier - Runs Prettier as an ESLint rule · After installing above, make changes ...
🌐
CoreUI
coreui.io › answers › how-to-configure-prettier-in-react
How to configure Prettier in React · CoreUI
January 8, 2026 - Prettier is an opinionated code formatter that automatically formats JavaScript, JSX, CSS, and other files on save or commit. The setup involves installing Prettier, creating a configuration file, and optionally integrating it with ESLint to avoid rule conflicts.
Find elsewhere
🌐
Holt
react-v8.holt.courses › lessons › js-tools › prettier
Prettier – Complete Intro to React v8
You can put other configs here if you hold strong formatting opinions. So it can be painful to try to remember the various CLI commands to run on your project. You can put CLI commands into it and then run the name of the tag and it'll run that script. Let's go see how that works. Put the following into your package.json. First run npm install -D prettier@2.7.1 -D means it's for development only.
🌐
DEV Community
dev.to › suprabhasupi › learn-to-configure-eslint-and-prettier-in-react-4gp0
Learn to configure ESLINT and PRETTIER in react - DEV Community
April 16, 2021 - The above configuration will allow you to run ESLint and fix both .js and .jsx files. In the same time, it will run Prettier on .json, .css and .md files.
🌐
Reddit
reddit.com › r/reactjs › what is your go to prettierrc configs?
r/reactjs on Reddit: What is your go to prettierrc configs?
March 16, 2022 -

Or am I an old geezer and folks have moved on from prettier?

Whats the best way to get some nice on save features in vs code if not prettier?

If prettier, what are you settings? (single quotes, line width, etc)

Nothing better than writing dog shit and clicking save and seeing it reformat to perfection

🌐
Medium
rimazmohommed523.medium.com › react-102-configuring-code-formatting-using-prettier-eslint-husky-f207f1bcebed
React 102 : Configuring code formatting using Prettier, ESLint & Husky | by Rimaz Mohommed | Medium
July 14, 2023 - In this article I’ll be diving into setting up pettier, eslint and husky for configuting the code formatting rules for your react js…
🌐
JavaScript in Plain English
javascript.plainenglish.io › configure-eslint-and-prettier-for-your-react-project-like-a-pro-2022-10287986a1b6
Configure Eslint and Prettier for your React project like a pro | by Simuratli | JavaScript in Plain English
September 11, 2024 - Configure Eslint and Prettier for your React project like a pro ⚛️ First step Create react app and enter your app in the terminal. (my-app is the name of your app you can use anything you …
🌐
Medium
aaron-janes.medium.com › effortlessly-elevate-your-react-code-with-eslint-and-prettier-a-step-by-step-guide-for-2023-b7cb065316fa
Effortlessly Elevate Your React Code with ESLint and Prettier: A Step-by-Step Guide for 2023 | by Aaron Janes | Medium
February 19, 2023 - Once the install completes, your project will have a .eslintrc.json file in your project. We will update this config to extend from prettier by adding the “prettier” string to the extends code block in your .eslintrc.json file .
🌐
DEV Community
dev.to › thomaslombart › how-to-setup-eslint-and-prettier-for-your-react-apps-1n42
How to Setup ESLint and Prettier for Your React Apps - DEV Community
December 26, 2025 - At the same time eslint-plugin-prettier ... using Prettier. You can enable this configuration by using the recommended one: ... Will wrap on line that exceeds 85 characters. Will always use parenthesis around arrow functions, even if there is one argument. Won't print semicolons at the end of every statement. Will use two spaces per indentation level. Let's take an example of a messy yet straightforward React component ...
🌐
DEV Community
dev.to › ajmal_hasan › eslint-prettier-configuration-react-nativeairbnb-style-3mao
Eslint & Prettier Configuration React Native(Airbnb Style) - DEV Community
March 7, 2025 - This is a step-by-step guide for integrating ESLint and Prettier into a React Native project to ensure code quality and consistent formatting. You are essentially setting up Airbnb's style guide with React-specific configurations, and integrating it with Prettier to automatically format the code.