Skip to content
Snippets Groups Projects
Commit 8114666b authored by Eduard Thamm's avatar Eduard Thamm
Browse files

Fix: Resupport 2.2.9 in rubocop

parent 8c2ab9e9
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -4,7 +4,7 @@ inherit_from:
 
# Files you want to exclude
AllCops:
TargetRubyVersion: 2.3
TargetRubyVersion: 2.2
Exclude:
- vendor/**/*
- db/schema.rb
Loading
Loading
Loading
Loading
@@ -30,9 +30,7 @@ RSpec.describe Guard::DslDescriber do
stub_const 'Guard::Another', class_double('Guard::Plugin')
 
# TODO: Reenable rubocop and refactor to +'' one 2.2 compatibility is dropped
# rubocop:disable Performance/UnfreezeString - +'' is incompatible with MRI 2.2.9
@output = String.new
# rubocop:enable Performance/UnfreezeString
 
# Strip escape sequences
allow(STDOUT).to receive(:tty?).and_return(false)
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment