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.
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.
Click to load comments...