Sign in to confirm you’re not a bot
This helps protect our community. Learn more
Using ESLint and Prettier in Visual Studio Code
114Likes
11,071Views
May 92024
Josh shows how you can use ESLint to set rules for your JavaScript/TypeScript code and how you can easily format it. He uses VS Code here, but you can do the same things in Visual Studio. Chapters: 00:00 - Introduction 02:10 - Configuring VS Code to run ESLint and Prettier 03:15 - Running ESLint manually 04:15 - Examples of finding issues with your code 05:20 - Installing and configuring the ESLint extension 06:35 - More examples of finding issues with your code 10:00 - Linting vs formatting 10:45 - Formatting with Prettier 12:00 - Formatting on save or manually 13:30 - Linting and formatting when code is checked in to source control 17:30 - Discussion of using linting and formatting when working in teams 20:45 - Wrap-up Resources: Learn more about using ESLint at https://eslint.org/docs/latest/use/ge... Learn how to use ESLint in Visual Studio at https://learn.microsoft.com/en-us/vis...

Follow along using the transcript.

Microsoft Visual Studio

334K subscribers