Stylelint-config for projects.
-
Install via
npm
:npm install --save-dev @paulhfischer/stylelint-config --engine-strict
Note: The installation requires
npm
version 7 or higher (otherwise peer dependencies aren't installed automatically). Have a look at the.pre-commit-hooks.yaml
-file for a list of all peer-dependencies. -
Add the stylelint configuration to your stylelint-config:
{ "extends": ["@paulhfischer/stylelint-config"] }