GitLab Stylelint base configuration

Downloads in past


4.1.03 months ago3 years agoMinified + gzip package size for @gitlab/stylelint-config in KB


This is the base Stylelint configuration used to enforce coding standards for styles in GitLab's projects.
  1. Add the configuration to your dev dependencies:

yarn add --dev @gitlab/stylelint-config stylelint postcss

  1. Extend the config in your .stylelintrc:

   "extends": "@gitlab/stylelint-config"

Release management

This project automatically publishes the main branch using semantic-release. If a new commit/merge request is merged into main and it's commit(s) follows the Angular Commit Message Conventions, a release will be automatically generated and published. Commits that do not follow the convention will be ignored and a release will not be made for them.