Adding Stylelint
Installing bud.js dependencies
To get started with Stylelint, install the @roots/bud-stylelint extension to your project.
- npm
- Yarn
- pnpm
npm install @roots/bud-stylelint --save-dev
yarn add @roots/bud-stylelint --dev
pnpm add @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.