- Overview
- Transcript
1.1 Introduction
In this course, I'll show you how ESLint is used both to catch code typos and also to enforce a consistent code style. You'll see how to get set up with ESLint, how to configure it, and how to create custom linting rules.
1.Modern JavaScript Linting With ESLint2 lessons, 17:11
1.1Introduction01:39
1.2Modern JavaScript Linting With ESLint15:32
1.1 Introduction
[MUSIC] Hi folks, today we're gonna learn about ESLint. ESLint is popular JavaScript linting tool to offer extensive configuration, a full command line interface, plugins, and much more. It was created by Nicholas Zakas in 2013, and is hugely popular. We're talking nearly 200,000 downloads per day popular. When working with JavaScript, linting is an essential development step that ensures our code doesn't have any fundamental issues that could easily come from a typo or something basic like that. All developers make these mistakes from time to time. These aren't mistakes that are caused by a lack of knowledge, but maybe a mistyped keystroke. Linting catches these issues quickly and painlessly for us. Code style is also very important, especially when working in large development teams, where many people are touching the code on a regular basis. Without enforcing a particular code style across the project, different files will quickly become out of sync in terms of how the code is written. Developers will naturally deviate to their own style of coding over time if we are left to our own devices. ESLint tackles both of these problems, and it tackles them well. It's fast and feature-full, so it's easy to see why it's so insanely popular. In this course, we're going to see how to install, add, initialize ESLint. How to add environments and rule configurations, and even how to integrate our own custom rules. Let's get started.