Skip to content

Replace scss-lint with stylelint

Vitaly Slobodin requested to merge vs-enable-gitlab-stylelint-config into master

What does this MR do?

Replace scss-lint with stylelint. stylelint runs faster and provides more configuration options for linting SCSS (CSS) files. We use both tools right now but we should stick with a single tool.

This merge request:

  • Adds and enables out stylelint configuration.
  • Removes scss-lint from Rake tasks, GitLab CI.
  • Replaces all entries of scss-lint with stylelint in the documentation.

Closes gitlab-org/frontend/rfcs#75 (closed)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Vitaly Slobodin

Merge request reports