puppetlabs / rspec-puppet

RSpec tests for your Puppet manifests
https://puppetlabs.github.io/rspec-puppet/
MIT License
11 stars 18 forks source link

(MAINT) Disable new Rspec/RemoveConst cop #98

Closed LukasAud closed 6 months ago

LukasAud commented 6 months ago

Following the recent introduction of a new cop in Rubocop, Rspec/RemoveConst, our CI has started failing. It seems like this rule is being enforced as a good practice to avoid buggy debug information but no real alternative is being offered.

This commit disables the cop to allow the CI to continue working. Here are the discussions that led to the creation of the rule: https://github.com/rubocop/rubocop-rspec/issues/1748 https://github.com/rubocop/rubocop-rspec/pull/1749