From the course: ESLint: Checking for Syntax and Logic Errors

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Challenge

Challenge

From the course: ESLint: Checking for Syntax and Logic Errors

Start my 1-month free trial

Challenge

(playful music) - [Instructor] Ready to try your hand at configuring ESLint error checking features? It's time for a challenge. The start files for this video are in the challenge folder. For this project, the rules section of the eslintrc file is empty. The index.js file in the source folder contains test code with a few comments. Each comment describes how ESLint should react to the line of code that follows. Your task is to edit the eslintrc file so the five error types in the comments are flagged. You may need to fix earlier flagged errors in order for ESLint to identify errors that occur further down in the code. So fix errors as you go. This should take you 10 to 15 minutes. When you're done, join me in the next video and I'll walk you through how I approached it. Have fun.

Contents