Skip to content
This repository has been archived by the owner on Jan 21, 2021. It is now read-only.
/ scss-lint-govuk Public archive

scss-lint style rules for GOV.UK's SASS projects

License

Notifications You must be signed in to change notification settings

alphagov/scss-lint-govuk

Repository files navigation

scss-lint GOV.UK

⚠️ This project is deprecated. It has been superseded by stylelint-config-gds

This repository provides common scss-lint rules for use with GOV.UK SCSS projects to comply with our style guides.

Installation

Add scss_lint-govuk to your Gemfile and then run bundle install:

# Gemfile
gem 'scss_lint-govuk'

Add the plugin to your project's scss-lint config:

# .scss-lint.yml
plugin_gems: ['scss_lint-govuk']

Usage

Run scss-lint:

bundle exec scss-lint