From 4f5c4ca3c28149724e8815ef3e08259548d00fa1 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 | 12 +++++++++--- lib/govuk/lint/sass_cli.rb | 2 +- lib/govuk/lint/version.rb | 2 +- 4 files changed, 12 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..4b808e9 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,12 @@ # 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]. + +For guidance on upgrading to these tools see the [migrate from govuk-lint][migrate-guide] page in the developer docs. # GOV.UK Lint @@ -66,6 +70,8 @@ default. Auto-correction and `--diff` mode are unavailable. [guides]: https://github.com/alphagov/styleguides +[migrate-guide]: https://docs.publishing.service.gov.uk/manual/migrate-from-govuk-lint.html [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