From 820a6bdc1688eeef28ba20809d008c0600500795 Mon Sep 17 00:00:00 2001 From: Sean Rankine Date: Thu, 31 Oct 2019 16:22:42 +0000 Subject: [PATCH] Release 4.3.0 This release deprecates govuk-lint, see CHANGELOG for more details. --- CHANGELOG.md | 2 +- README.md | 7 ++++--- lib/govuk/lint/sass_cli.rb | 2 +- lib/govuk/lint/version.rb | 2 +- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 97f885b..fa58e5f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -# Unreleased +# 4.3.0 * Deprecate govuk-ruby-lint * Deprecate govuk-scss-lint diff --git a/README.md b/README.md index d9e553b..7fc2e48 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ # DEPRECATED This repository and Gem has been deprecated and is no longer supported. -To lint Ruby and RSpec projects please consider using instead [rubocop-govuk][rubocop-govuk]. -To lint SASS projects please consider using [sass-lint][sass-lint]. +To lint Ruby and RSpec projects please consider using [rubocop][rubocop] with [rubocop-govuk][rubocop-govuk]. +To lint SASS projects please consider using [scss-lint][scss-lint] with [scss-lint-govuk][scss-lint-govuk]. # GOV.UK Lint @@ -68,4 +68,5 @@ Auto-correction and `--diff` mode are unavailable. [guides]: https://github.com/alphagov/styleguides [rubocop]: https://github.com/bbatsov/rubocop [rubocop-govuk]: https://github.com/alphagov/rubocop-govuk -[sass-lint]: https://github.com/sasstools/sass-lint +[scss-lint]: https://github.com/sds/scss-lint +[scss-lint-govuk]: https://github.com/alphagov/scss-lint-govuk diff --git a/lib/govuk/lint/sass_cli.rb b/lib/govuk/lint/sass_cli.rb index b233e14..1a34529 100644 --- a/lib/govuk/lint/sass_cli.rb +++ b/lib/govuk/lint/sass_cli.rb @@ -6,7 +6,7 @@ module Govuk module Lint class SassCLI < SCSSLint::CLI def run(args = ARGV) - warn "[DEPRECATION] `govuk-scss-lint` is deprecated. Please use `sass-lint` instead." + warn "[DEPRECATION] `govuk-scss-lint` is deprecated. Please use `scss-lint` with `scss-lint-govuk` instead." args += [ "--config", File.join(Govuk::Lint::CONFIG_PATH, "scss_lint/gds-sass-styleguide.yml"), diff --git a/lib/govuk/lint/version.rb b/lib/govuk/lint/version.rb index 8ff14df..5921a86 100644 --- a/lib/govuk/lint/version.rb +++ b/lib/govuk/lint/version.rb @@ -1,5 +1,5 @@ module Govuk module Lint - VERSION = "4.2.0".freeze + VERSION = "4.3.0".freeze end end