DDEV, Craft, Vite, Tailwind Boilerplate from Scratch

Adding Eslint to Vite

Eslint is a tool that checks JavaScript code for patterns that could cause bugs. We can set up Vite to run Eslint with every build.

Eslint is a tool that checks JavaScript code for pat­terns that could cause bugs. We can set up Vite to run Eslint with every build. 

To add ESlint, we need to first install the pack­age in our project and use the init tool to cre­ate a con­fig file.. 

The con­fig­u­ra­tion file that tells it what rules to apply to your project when it checks the JavaScript files. We’ll use the Eslint con­fig wiz­ard to make this a sim­ple process.

DDEV, Craft, Vite, Tailwind Boilerplate from Scratch is made up of the following videos: