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
Recently I've encountered a situation in a code review where the author named the function to_CSV. This immediately stroke me as unusual/non-idiomatic (see e.g. Plug.HTML.html_escape as a counterexample). After thinking a bit about it, I can't really come up with an example where using uppercase name would be idiomatic, so I thought of writing a credo check. I have a basic first draft (code is available here), and I wanted to see if you'd be interested in moving this check to credo? If so, let me know and I'll prep a PR where we can discuss the details.
The text was updated successfully, but these errors were encountered:
Oh, I totally missed that because the error is not reported (I just double checked, and it's indeed not reported). Since credo didn't complain about it, I just assumed that this is not verified. It appears there is a bug in this check, so I'll close this issue and investigate further.
Recently I've encountered a situation in a code review where the author named the function
to_CSV
. This immediately stroke me as unusual/non-idiomatic (see e.g. Plug.HTML.html_escape as a counterexample). After thinking a bit about it, I can't really come up with an example where using uppercase name would be idiomatic, so I thought of writing a credo check. I have a basic first draft (code is available here), and I wanted to see if you'd be interested in moving this check to credo? If so, let me know and I'll prep a PR where we can discuss the details.The text was updated successfully, but these errors were encountered: