The video for this lesson is currently being updated, please read the transcript instead.

Linting a full-stack Vue app

To create maintainable and easily understandable code, it's important to use a tool like ESLint to enforce consistency.

The Vue CLI 3 scaffold provides an ESLint server for us which we can run with the comannd npm run lint.

Linter rules

Vue CLI 3 provides a root-level ESLint config file.

I've added to the rules supplied in the Vue CLI 3 scaffold, and I've also included directory-level rules in the server and client folders, too.

To view the complete lesson you'll need to login or join this course.


Click to load comments...