From the course: ESLint: Customizing Styles

Unlock the full course today

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

Challenge: Customize ESLint styles

Challenge: Customize ESLint styles

From the course: ESLint: Customizing Styles

Start my 1-month free trial

Challenge: Customize ESLint styles

(electronic techno music) - [Instructor] Ready to try your hand at troubleshooting an ESLint configuration? It's time for a challenge. The start files for this video are in the challenge folder. For this project, the .eslintrc file contains a few key value pairs in the rules section. And the index.js file in the source folder contains a set of test statements. Each test statement has a comment right above it that describes how ESLint should react to it. Some statements are written to result in errors, while others aren't. Your task is to edit the .eslintrc file to get the appropriate results from the index.js file. Remember to use eslint.org to read up on the documentation for the rules you're working with. 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