This repository provides common scss-lint rules for use with GOV.UK SCSS projects to comply with our style guides.
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']
Run scss-lint:
bundle exec scss-lint