From aba3fa4b4f3b727a5e8050ad733051ef9912d91d Mon Sep 17 00:00:00 2001 From: Justin Searls Date: Wed, 26 Aug 2020 09:04:55 -0400 Subject: [PATCH] 0.5.2 Turn off Lint/Super Fixes #195 --- CHANGELOG.md | 8 ++++++++ Gemfile.lock | 2 +- config/base.yml | 3 --- lib/standard/version.rb | 2 +- 4 files changed, 10 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 85ad9aab..2f4cd662 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.5.2 + +* Turned off `Lint/MissingSuper`, because it effectively bans a common idiom in + Sorbet ([#195](https://github.com/testdouble/standard/issues/195)) and might + be a bit too heavy-handed/opinionated for cases where a class is designed + intentionally to not run its parent's initializer (like abstract superclasses + more generally) + ## 0.5.1 * Enabled `Style/MultilineWhenThen` diff --git a/Gemfile.lock b/Gemfile.lock index 1aaa67cc..7a5ccddf 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - standard (0.5.1) + standard (0.5.2) rubocop (~> 0.89.1) rubocop-performance (~> 1.7.1) diff --git a/config/base.yml b/config/base.yml index 7c76caa3..7319d8c2 100644 --- a/config/base.yml +++ b/config/base.yml @@ -423,9 +423,6 @@ Lint/MissingCopEnableDirective: Enabled: true MaximumRangeSize: .inf -Lint/MissingSuper: - Enabled: true - Lint/MixedRegexpCaptureTypes: Enabled: true diff --git a/lib/standard/version.rb b/lib/standard/version.rb index 258dcf55..f9e1655a 100644 --- a/lib/standard/version.rb +++ b/lib/standard/version.rb @@ -1,3 +1,3 @@ module Standard - VERSION = Gem::Version.new("0.5.1") + VERSION = Gem::Version.new("0.5.2") end