- Base Stylelint ruleset with various other helpful plugins.
- Assumes project uses SCSS.
- Includes
stylelint-scss
for additional SCSS linting. - Includes
stylelint-order
for enforcing properly strucutred declarations.
- There are 2 recommended ways to install this config.
npx install-peerdeps --dev @fuelrats/stylelint-config
- or
yarn add --dev stylelint postcss postcss-scss stylelint-scss stylelint-order @fuelrats/stylelint-config
- Add
"extends": ["@fuelrats/stylelint-config"],
to your.stylelintrc
file.