From 09ec075f1ee52f6bb2be83df1336e6d4924b3e9c Mon Sep 17 00:00:00 2001 From: bogdanvlviv Date: Thu, 26 Jul 2018 11:33:49 +0300 Subject: Remove Rubocop's comments from Rails code base PR#32381 added Rubocop's comments to some tests files in order to exclude `Performance/RedundantMerge`. Turn off `Performance` cops for tests files via `Exclude` in `.rubocop.yml`. Context https://github.com/rails/rails/pull/32381#discussion_r205212331 --- .rubocop.yml | 4 ++++ 1 file changed, 4 insertions(+) (limited to '.rubocop.yml') diff --git a/.rubocop.yml b/.rubocop.yml index 9db88cbbdf..e93e7ff82f 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -9,6 +9,10 @@ AllCops: - 'actionpack/lib/action_dispatch/journey/parser.rb' - 'railties/test/fixtures/tmp/**/*' +Performance: + Exclude: + - '**/test/**/*' + Rails: Enabled: true -- cgit v1.2.3