From the course: Node.js: Testing and Code Quality

Unlock the full course today

Join today to access over 24,400 courses taught by industry experts.

Solution: Create a shareable ESLint config

Solution: Create a shareable ESLint config

From the course: Node.js: Testing and Code Quality

Solution: Create a shareable ESLint config

(intro music) - Here's the solution to the challenge about creating a sharable ESLint configuration. If you haven't completed it yet, please take a moment to practice your skills. Switch over to vs code. From file, go down to open folder, navigate to the exercise files and then select challenges, and then the 02_10 folder, click select folder or okay to open the folder. There's a read me in here already with the steps for the challenge. Take a look at the directions if you need a refresher. Within the Explorer, right click and choose new folder. Specify the name which begins with ESLint dash config dash. Then the custom name, which in this case will be Nadia and press enter. Let's open up the terminal. Change directory to ESLint dash config dash Nadia. Initialize a new module with the defaults using NPM space init space dash Y and press enter. This will create the package dot JSON file. Over in the Explorer, click on…

Contents