diff --git a/src/ameba/rule/naming/block_parameter_name.cr b/src/ameba/rule/naming/block_parameter_name.cr index 0f588f02..2311b890 100644 --- a/src/ameba/rule/naming/block_parameter_name.cr +++ b/src/ameba/rule/naming/block_parameter_name.cr @@ -20,7 +20,7 @@ module Ameba::Rule::Naming # Enabled: true # MinNameLength: 3 # AllowNamesEndingInNumbers: true - # AllowedNames: [_, e, i, j, k, v, x, y, ex, io, ws, op, tx, id, k1, k2, v1, v2] + # AllowedNames: [_, e, i, j, k, v, x, y, ex, io, ws, op, tx, id, ip, k1, k2, v1, v2] # ForbiddenNames: [] # ``` class BlockParameterName < Base @@ -28,7 +28,7 @@ module Ameba::Rule::Naming description "Disallows non-descriptive block parameter names" min_name_length 3 allow_names_ending_in_numbers true - allowed_names %w[_ e i j k v x y ex io ws op tx id k1 k2 v1 v2] + allowed_names %w[_ e i j k v x y ex io ws op tx id ip k1 k2 v1 v2] forbidden_names %w[] end