Episode
Using ESLint and Prettier in Visual Studio Code
with Robert Green, Josh Goldberg
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
Recommended resources
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
Recommended resources
Video URL
HTML iframe
Developer
Visual Studio Code
Have feedback? Submit an issue here.