DDEV, Craft, Vite, Tailwind Boilerplate from Scratch
How to install the Checker plugin and Stylelint to work with TailwindCSS.
Let’s do a bit of extra credit by adding two linters to our project. A linter is a static code analysis tool that flags programming errors, bugs, stylistic issues, and other issues to help developers write cleaner, more consistent code. A linter knows what to flag based on a set of rules you provide to it.
The first linter we’ll add is Stylelint, which a linter tool that identifies and reports errors in CSS code.
In order to add linters and have Vite run them on every change or build, we need to add in a plugin that will run those linters. For Vite, it’s called the Vite Checker plugin.
DDEV, Craft, Vite, Tailwind Boilerplate from Scratch is made up of the following videos: