Skip to content
This repository has been archived by the owner on Jan 6, 2020. It is now read-only.

Commit

Permalink
Release 4.3.0
Browse files Browse the repository at this point in the history
This release deprecates govuk-lint, see CHANGELOG for more details.
  • Loading branch information
theseanything committed Nov 11, 2019
1 parent 1d43953 commit 4f5c4ca
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Unreleased
# 4.3.0

* Deprecate govuk-ruby-lint
* Deprecate govuk-scss-lint
Expand Down
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -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
2 changes: 1 addition & 1 deletion lib/govuk/lint/sass_cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down
2 changes: 1 addition & 1 deletion lib/govuk/lint/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module Govuk
module Lint
VERSION = "4.2.0".freeze
VERSION = "4.3.0".freeze
end
end

0 comments on commit 4f5c4ca

Please sign in to comment.