From the course: Node.js: Testing and Code Quality
Unlock the full course today
Join today to access over 24,700 courses taught by industry experts.
Adding EditorConfig to a project and IDE
From the course: Node.js: Testing and Code Quality
Adding EditorConfig to a project and IDE
- It could take hours to add editor config to a project and editor or more likely just a minute or two. Adding editor config support to an editor is well-documented at editorconfig.org. In fact, some editors already include native support, so you might not need to do anything. Others like vs code require an open source plugin or extension. Let's get started. Switch over to vs code. Launch vs code quick open by pressing control and P. Type the following command E X T, space install space editor, config dot editor, config and press enter to install the extension. After a moment, the extension should be installed and listed within the extensions marketplace on the sidebar. That's basically it. If you click on the extension that you just installed, you'll see some release notes and some supported properties. No configuration is needed so click the Explorer icon in the activity bar to return to our workspace. Now that the…
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)
-
-
-
-