diff --git a/dev.yml b/dev.yml index b37cade2..96327e43 100644 --- a/dev.yml +++ b/dev.yml @@ -5,3 +5,8 @@ up: - bundler test: bundle exec rake + +commands: + dump-config: + description: Dump the full RuboCop config as a YAML file for testing + run: bundle exec rake config:dump diff --git a/rubocop.yml b/rubocop.yml index bc9d919b..9106c728 100644 --- a/rubocop.yml +++ b/rubocop.yml @@ -1196,9 +1196,6 @@ Style/RedundantFilterChain: Style/RedundantFormat: Enabled: false -Style/RedundantFreeze: - Enabled: false - Style/RedundantHeredocDelimiterQuotes: Enabled: false diff --git a/test/fixtures/full_config.yml b/test/fixtures/full_config.yml index 4d4190a3..45fefb8f 100644 --- a/test/fixtures/full_config.yml +++ b/test/fixtures/full_config.yml @@ -4166,7 +4166,7 @@ Style/RedundantFormat: VersionChanged: '1.72' Style/RedundantFreeze: Description: Checks usages of Object#freeze on immutable objects. - Enabled: false + Enabled: true VersionAdded: '0.34' VersionChanged: '0.66' Style/RedundantHeredocDelimiterQuotes: