-
Notifications
You must be signed in to change notification settings - Fork 56
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
Bug (?) in atom_naming_convention #312
Comments
non_200 should be accepted. Let's improve the regex |
Yeah, tentatively I'm leaving this here: We force:
|
Is this issue still relevant? Because I tested with the given atom name( the default regex: "^([a-z][a-z0-9]_?)(_SUITE)?$" I think it's correct that it allows atoms like |
@bormilan The original idea was not to allow atoms like |
Oh, I completely misunderstood. So we want to warn the developers to not make atoms like |
Exactly! 👌🏻 |
Bug Description
atom_naming_convention
might be wrongly implemented (the default regex part).I recently noticed
non200_
was a possibleatom
/function_name
, but this is probably undesired.Now, if we fix it as per our initial intention (which was...?), it is a breaking change, so we'd need to bump major.
To Reproduce
Have
non200_
in your code as an atom, or function name.Expected Behavior
The regex should be improved, but also... why would
non_200
not be accepted?The text was updated successfully, but these errors were encountered: