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
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…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
(Locked)
Standardizing with EditorConfig8m 23s
-
(Locked)
Adding EditorConfig to a project and IDE4m 3s
-
(Locked)
Comparing JavaScript linters4m 56s
-
(Locked)
Installing ESLint3m 47s
-
(Locked)
Configuring ESLint6m 23s
-
(Locked)
Extending an ESLint shareable config5m 5s
-
(Locked)
Linting your codebase6m 14s
-
(Locked)
Fixing code in VSC with ESLint7m 3s
-
(Locked)
Challenge: Create a shareable ESLint config51s
-
(Locked)
Solution: Create a shareable ESLint config5m 25s
-
(Locked)
-
-
-
-