From ccda638f1152b8421cdbb87f6e10e0818890f9dd Mon Sep 17 00:00:00 2001 From: Andy McCrae Date: Tue, 25 Feb 2014 17:49:05 +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: I0eba348b7849f5fce9d758cdd44b79f589a3d4d4 Addresses: blueprint rubocop-integer --- .rubocop.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.rubocop.yml b/.rubocop.yml index 8dc6194a..5500e6d0 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -14,6 +14,9 @@ Encoding: - metadata.rb - Gemfile +NumericLiterals: + Enabled: false + LineLength: Enabled: false