Enable the Style/ColonMethodCall cop

This commit is contained in:
gregoirenovel 2018-12-18 22:08:41 +01:00
parent 616e9305e9
commit 4b0e632abb
2 changed files with 2 additions and 2 deletions

View file

@ -859,7 +859,7 @@ Style/CollectionMethods:
Enabled: false
Style/ColonMethodCall:
Enabled: false
Enabled: true
Style/ColonMethodDefinition:
Enabled: true

View file

@ -5,5 +5,5 @@ class TypeDePieceJustificative < ApplicationRecord
validates :libelle, presence: true, allow_blank: false, allow_nil: false
validates :lien_demarche, format: { with: URI::regexp }, allow_blank: true, allow_nil: true
validates :lien_demarche, format: { with: URI.regexp }, allow_blank: true, allow_nil: true
end