If playback doesn't begin shortly, try restarting your device.
•
You're signed out
Videos you watch may be added to the TV's watch history and influence TV recommendations. To avoid this, cancel and sign in to YouTube on your computer.
CancelConfirm
Share
An error occurred while retrieving sharing information. Please try again later.
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...…...more
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...…...more