From the course: JavaScript: Best Practices for Data

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Understanding ESLint

Understanding ESLint - JavaScript Tutorial

From the course: JavaScript: Best Practices for Data

Start my 1-month free trial

Understanding ESLint

- [Instructor] ESLint is a utility that flags deviations from selected best practices right in your editor as you code. ESLint is widely used by Java script developers to catch and correct issues before testing and deploying. Although ESLint allows you to load a default set of rules, one of it's strengths is it's configurability. It's unlikely that you'll want to enforce every one of the rules in your code. Or that you'll make precisely the same choices as the defaults. For this reason, it's important to understand how to configure ESLint, otherwise using it can be an exercise in frustration as you have to ignore its warnings when they're not relevant to your preferences. With ESLint installed I could run a configuration utility, however, this builds out a package that JSON file and associated modules that I don't need here. So instead, ESLint supports rules written using Java script itself, as well as YAML or JSON.…

Contents