inaka / elvis

Erlang Style Reviewer
Apache License 2.0
424 stars 87 forks source link

the default atom_naming_convention is too strict #563

Open zhongwencool opened 2 years ago

zhongwencool commented 2 years ago

crypto:hash(sha3_256, Bin)

https://www.erlang.org/doc/man/crypto.html#type-cipher the _xxx xxx is a digit number should be allowed.

elbrujohalcon commented 2 years ago

Not a bad idea. We'll likely accept a PR that allows numbers in atoms as long as the atom doesn't just contain numbers.

paulo-ferraz-oliveira commented 3 months ago

Linked to https://github.com/inaka/elvis_core/issues/312.