Tagged "stylelint"

Setup StyleLint for Phoenix project

In this post, I will share how to integrate StyleLint with a Phoenix project. It’s quite useful for automation validating your CSS code and avoid some common errors. The main idea is to install the stylelint using package.json, but we don’t use it in Webpack. We use mix command instead. Let start the first step, by adding the stylelint and its related packages to devDependencies section of the package.json file: