Browse Source

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: I179e2ced4aca4040098a268d6573b297ce4b32bc
Addresses: blueprint rubocop-integer
tags/eol-havana
Andy McCrae 5 years ago
parent
commit
dd97ef9f5e
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      .rubocop.yml

+ 3
- 0
.rubocop.yml View File

@@ -14,6 +14,9 @@ Encoding:
14 14
     - metadata.rb
15 15
     - Gemfile
16 16
 
17
+NumericLiterals:
18
+  Enabled: false
19
+
17 20
 LineLength:
18 21
   Enabled: false
19 22
 

Loading…
Cancel
Save