ESLint: Checking for Syntax and Logic Errors

ESLint: Checking for Syntax and Logic Errors
ESLint: Checking for Syntax and Logic Errors
English | MP4 | AVC 1280×720 | AAC 48KHz 2ch | 0h 31m | 84 MB

Reduce bugs and boost efficiency by using ESLint to catch common coding errors. In this course—the third and final installment in the ESLint series—learn about some of the most essential error-catching rules in ESLint, as well as how to configure them. Instructor Sasha Vodnik details how to configure rules to identify errors in code for functions; configure ESLint to identify issues with loops and in conditional structures; enable error checking for logic errors in for and if-else statements; identify empty blocks and unneeded debugging statements; alert you to sparse arrays and strings that seem to use template literal syntax; and catch common logic errors. Plus, Sasha provides a challenge that allows you to put your new skills to the test.

Table of Contents

1 Using ESLint to catch coding errors
2 What you should know
3 Using the exercise files for this course
4 Understanding ESLint error rule types
5 Flagging issues in functions
6 Identifying problems in loops and conditionals
7 Eliminating unfinished code
8 Ensuring accurate values
9 Calling out general logic errors
10 Challenge
11 Solution
12 Next steps