-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
elvis_style:is_otp_module only checks behavior
attribute, not behaviour
#550
Comments
I would've expected |
When I changed the attribute to |
I think I've touched this subject somewhere, and @jfacorro got involved. Let me do a quick search... |
Related: #490. |
Fixed with inaka/elvis_core#139 |
In Erlang both the US and British spelling is accepted for the
-behaviour
attribute, however, theelvis_style:is_otp_module/1
function only checks for the US spelling and doesn't detect OTP behaviours using the British spelling:Maybe use something like this:
The text was updated successfully, but these errors were encountered: