This package provides BandLab's configuration for stylelint
. Similar to ESLint, stylelint helps enforcing consistent (S)CSS conventions across projects.
npm install --save-dev @bandlab/stylelint-config-bandlab
Create a .stylelintrc.yml
configuration file and extends it with stylelint-config-bandlab
:
extends: '@bandlab/stylelint-config-bandlab'
Lint stylesheets via CLI:
npm install -g stylelint
stylelint foo/*.css
More details in the stylelint documentation.