You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Consistency
┃
┃ [C] ↗ There are spaces around operators most of the time, but not here.
As it seems, Credo thinks the arity part is actually a division by 1 which leads to a consistency warning being emitted. All other mathematical operations in the project have a spaces around the operators.
The text was updated successfully, but these errors were encountered:
Environment
Credo version: 1.0.5
Erlang/Elixir version: 1.8.0
Operating system: macOS Mojave 10.14.5
What were you trying to do?
I got the following code snippet in my project.
Expected outcome
No warning should be emitted.
Actual outcome
A warning is emitted:
As it seems, Credo thinks the arity part is actually a division by 1 which leads to a consistency warning being emitted. All other mathematical operations in the project have a spaces around the operators.
The text was updated successfully, but these errors were encountered: