From the course: ESLint: Integrating with Your Workflow

Unlock the full course today

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

Challenge: Add ESLint to a project

Challenge: Add ESLint to a project

From the course: ESLint: Integrating with Your Workflow

Start my 1-month free trial

Challenge: Add ESLint to a project

(upbeat music) - [Instructor] Ready to try your hand at adding ESLint to a project? It's time for a challenge. The start files for this video contain a project that's already configured with webpack and Babel. This project is in the new challenge folder, so if you've worked through videos so far with the same set of files, you'll need to grab or switch to the 01_05b branch of this repo for the files you need. The complete version of the work from the other videos is in the videos folder for reference. For the project in the challenge folder, the build command uses webpack and Babel to parse and pack the index.js file in the source folder, and it writes the result to the dist folder. Your task is to add and configure ESLint using the standard style guide, which is the second option in the list of popular style guides when you setup ESLint. You also need to integrate ESLint into the webpack build process. And…

Contents