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

Next lesson playing in 5 seconds

  • Overview
  • Transcript

1.1 Introduction

StandardJS makes linting simple. It comes with a specific set of rules, and you either follow these, or you don't use StandardJS. In this course, I'll show you how to install it in your project and begin using it immediately, without the chore of configuring the rules.

1.Fix JavaScript Code Style With StandardJS
2 lessons, 16:39

Free Lesson

Fix JavaScript Code Style With StandardJS

1.1 Introduction

[SOUND] Hi folks. Today we're going to look at Standard JS, the JavaScript style checker with a difference. With most style tools, we install them and then we need to spend some time configuring them, which may be time consuming or not depending on the tool in question and the styles that we want to enforce. Some linters have literally hundreds of rules that can be configured. But whether it's quick and easy or time consuming, it's still another step in the process and it still leaves discussion and debate open. If it can be configured, it can be changed. And debates on making changes to adopt a new style may detract from a developer's most valuable time, development time. Standard JS is different, there is no configuration. It comes with a standard set of rules and you either accept those and adopt them or you use a different tool. You might think this is opinionated and it is opinionated. As Feross, its creator, once said, a zero-configuration code lint tool is almost by definition going to be opinionated. Standard JS is built on top of ESLint and is insanely popular, being downloaded thousands of times per day. So join me in the next lesson and we can take a look at it in more detail. Thanks for watching.

Back to the top