Skip to content

Commit

Permalink
Merge pull request #647 from SpaceEEC/variable_binding_params
Browse files Browse the repository at this point in the history
add :allow_bang :params to @ explanation of VariableRebinding check
  • Loading branch information
rrrene committed Apr 21, 2019
2 parents f9d5ee4 + f23c16f commit 9376544
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lib/credo/check/refactor/variable_rebinding.ex
Expand Up @@ -38,7 +38,12 @@ defmodule Credo.Check.Refactor.VariableRebinding do
params! = do_yet_another_thing(params!)
end
"""
@explanation [check: @checkdoc]
@explanation [
check: @checkdoc,
params: [
allow_bang: "Variables with a bang suffix will be ignored."
]
]

use Credo.Check

Expand Down

0 comments on commit 9376544

Please sign in to comment.