Enable the Style/ColonMethodCall cop
This commit is contained in:
parent
616e9305e9
commit
4b0e632abb
2 changed files with 2 additions and 2 deletions
|
@ -859,7 +859,7 @@ Style/CollectionMethods:
|
|||
Enabled: false
|
||||
|
||||
Style/ColonMethodCall:
|
||||
Enabled: false
|
||||
Enabled: true
|
||||
|
||||
Style/ColonMethodDefinition:
|
||||
Enabled: true
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue