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.
Challenge: Create a shareable ESLint config
From the course: Node.js: Testing and Code Quality
Challenge: Create a shareable ESLint config
(upbeat music) - [Instructor] In this chapter, we learned ways to find JavaScript errors with linting, including using the ESLint utility. How can we make a shareable ESLint configuration? The eslint.org website includes a comprehensive guide for creating shareable configs. First, read through the documentation. With that knowledge, make a new module outside of the Nadia project. I will be demonstrating using the Challenges directory in the exercise files. Within the new module, use the configuration we wrote for Nadia. The goal is to make something that can be included in this and in other projects. My solution will be in the next video. Good luck.
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)
-
-
-
-