stylelint#
We’re using stylelint to do the linting of CSS files.
stylelint config#
Please have a look at the latest stylelint config for all the configured options.
Hint
To see all available rules, have a look at the stylelint documentation.
stylelint Makefile#
To run stylelint
in your project, use the following Makefile
target:
LINTER_CONFIGS = https://git.confirm.ch/confirm/guidelines/raw/master/configs
test-stylelint:
curl -sSfLo .stylelintrc.yml $(LINTER_CONFIGS)/stylelintrc.yml
npx stylelint $(BUILD_DIR)/*.js