Unlimited Plugins, WordPress themes, videos & courses! Unlimited asset downloads! From $16.50/m
by
Lessons:2Length:17 minutes

Next lesson playing in 5 seconds

Cancel

Free Preview: Modern JavaScript Linting With ESLint

Introduction

01:39
  • Overview
  • Transcript

Linting helps ensure that our code doesn't have issues that could come from a typo or basic error. All developers make these mistakes from time to time; they aren't 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 teams. If you don't enforce a particular code style across the project, different files will quickly become out of sync. Developers will naturally deviate to their personal style of coding over time if left to their own devices.

In this Coffee Break Course, you'll see how ESLint tackles both of these problems, and tackles them well. It's fast and feature-full, so it's easy to see why it's so insanely popular.

Learn JavaScript: The Complete Guide

We've built a complete guide to help you learn JavaScript, whether you're just getting started as a web developer or you want to explore more advanced topics.

1.Modern JavaScript Linting With ESLint
2 lessons, 17:11

Free Lesson
1.1
Introduction
01:39

1.2
Modern JavaScript Linting With ESLint
15:32


1. Modern JavaScript Linting With ESLint

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.