Skip to main content

Adding Stylelint

Installing bud.js dependencies

To get started with Stylelint, install the @roots/bud-stylelint extension to your project.

npm install @roots/bud-stylelint --save-dev

Configuring stylelint

Once you've installed the extension you can configure it either in your bud.config file or in a separate .stylelintrc.js file.

For more information on configuring stylelint refer to the @roots/bud-stylelint documentation.