---
title: "Discussion on \"Setup ESLint and Prettier VS Code extensions for React app\" | Hashnode"
description: "Discussion on \"Setup ESLint and Prettier VS Code extensions for React app\". Automate javascript file formatting"
url: "https://hashnode.com/posts/setup-eslint-and-prettier-vs-code-extensions-for-react-app/5f25805c90ac4260edf35211"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Setup ESLint and Prettier VS Code extensions for React app](https://rahulborah.hashnode.dev/setup-eslint-and-prettier-vs-code-extensions-for-react-app?utm_source=hashnode&utm_medium=feed)

Automate javascript file formatting

Aug 1, 2020 · 2 min read · rahulborah.hashnode.dev  
Updated Dec 25, 2021  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#eslint](https://hashnode.com/tag/eslint)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#vscode](https://hashnode.com/tag/vscode)
-   [#prettier](https://hashnode.com/tag/prettier)

## Written by

[Rahul Kumar Borah](https://hashnode.com/@rahulborah)

@rahulborah · Bangalore, India

  
[View profile](https://hashnode.com/@rahulborah)

Software Developer

## Responses 6

Markdown supported · ⌘↵ to post

[Subha Chanda](https://hashnode.com/@nemo)

[Aug 3, 2020](https://hashnode.com/posts/setup-eslint-and-prettier-vs-code-extensions-for-react-app/5f25805c90ac4260edf35211/comment/5f27c6169d473a7444cec01a)

I think prettier is enough for basic editing. I am using prettier. And format on save is available on it. And react also gives the warning 'no unused vars.' 😊

[Rutik Wankhade](https://hashnode.com/@rutikwankhade)

[Aug 3, 2020](https://hashnode.com/posts/setup-eslint-and-prettier-vs-code-extensions-for-react-app/5f25805c90ac4260edf35211/comment/5f27b538bcc1a77423c403df)

I am learning react and didn't know about these awesome extensions. This is very helpful. Saves a lot of time. Thanks for sharing.

[Bolaji Ayodeji](https://hashnode.com/@bolajiayodeji)

[Aug 2, 2020](https://hashnode.com/posts/setup-eslint-and-prettier-vs-code-extensions-for-react-app/5f25805c90ac4260edf35211/comment/5f264251669da9610ee182ad)

Really insightful!

[Victoria Lo](https://hashnode.com/@victoria)

[Aug 1, 2020](https://hashnode.com/posts/setup-eslint-and-prettier-vs-code-extensions-for-react-app/5f25805c90ac4260edf35211/comment/5f25bac7669da9610ee17f57)

Nice! I didn't know about the extensions and now I'm using it :)

[Faith Gaiciumia](https://hashnode.com/@shumia)

[Aug 1, 2020](https://hashnode.com/posts/setup-eslint-and-prettier-vs-code-extensions-for-react-app/5f25805c90ac4260edf35211/comment/5f25ae2e669da9610ee17ed4)

I couldn't find my format on save but now I do. Thanks 😍

[Faith Gaiciumia](https://hashnode.com/@shumia)

[Aug 1, 2020](https://hashnode.com/posts/setup-eslint-and-prettier-vs-code-extensions-for-react-app/5f25805c90ac4260edf35211/comment/5f25ae2e669da9610ee17ed4#reply-5f25aebf90ac4260edf356a3)

I also liked how you used create-react-app to generate code that we could use. However, I think it'd be cooler if you could mention that the create-react-app is for generating code we could use and not really a necessity to use ESLint and Prettier.

[Rahul Kumar Borah](https://hashnode.com/@rahulborah)

[Aug 2, 2020](https://hashnode.com/posts/setup-eslint-and-prettier-vs-code-extensions-for-react-app/5f25805c90ac4260edf35211/comment/5f25ae2e669da9610ee17ed4#reply-5f264d6c90ac4260edf35a6e)

[Faith Gaiciumia](https://hashnode.com/@shumia) Thanks for the suggestion. I will update it accordingly.

[Edidiong Asikpo (Didi)](https://hashnode.com/@didicodes)

[Aug 1, 2020](https://hashnode.com/posts/setup-eslint-and-prettier-vs-code-extensions-for-react-app/5f25805c90ac4260edf35211/comment/5f25906a90ac4260edf35385)

This is just what I was looking for. Thank you for sharing.
