From 4fff7409491db8563e7d13dc1022b00a57b56648 Mon Sep 17 00:00:00 2001 From: Andy McCrae Date: Tue, 25 Feb 2014 18:07:19 +0000 Subject: [PATCH] Disable the NumericLiterals cop for rubocop - Disable the NumericLiterals cop in the .rubocop.yml file - this cop enforces an underscore '_' every 3 characters of an integer. This doesn't make much sense in our use case and reduces readability. Especially for port numbers. Change-Id: I32617941e3ee1f43e06fb5b9017e6ccab0cf5050 Addresses: blueprint rubocop-integer --- .rubocop.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.rubocop.yml b/.rubocop.yml index 8dc6194..5500e6d 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -14,6 +14,9 @@ Encoding: - metadata.rb - Gemfile +NumericLiterals: + Enabled: false + LineLength: Enabled: false