Skip to content
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

Breaking: update atom naming convention's default regex #356

Merged
merged 4 commits into from
Sep 16, 2024

Conversation

bormilan
Copy link
Contributor

No description provided.

Copy link
Member

@elbrujohalcon elbrujohalcon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's add some more atoms to the test to verify our regex even further.

test/examples/pass_atom_naming_convention.erl Outdated Show resolved Hide resolved
test/examples/fail_atom_naming_convention.erl Outdated Show resolved Hide resolved
Copy link
Member

@elbrujohalcon elbrujohalcon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, @bormilan … I think we still need another iteration on this.

test/examples/pass_atom_naming_convention.erl Show resolved Hide resolved
src/elvis_style.erl Outdated Show resolved Hide resolved
test/examples/fail_atom_naming_convention.erl Show resolved Hide resolved
@paulo-ferraz-oliveira paulo-ferraz-oliveira changed the title Fix/atom naming convention regex Update atom naming convention with a more relaxed regex Sep 14, 2024
@paulo-ferraz-oliveira
Copy link
Collaborator

It'd be interesting to understand if this is interface-breaking, and signal that as a major in the release, in case it is, because we're changing an existing rule.

@paulo-ferraz-oliveira paulo-ferraz-oliveira linked an issue Sep 14, 2024 that may be closed by this pull request
@elbrujohalcon
Copy link
Member

I'll merge this as soon as CI is ✅ … @paulo-ferraz-oliveira I do believe that this deserves a major jump. So… 4.0.0 is coming!!!

@elbrujohalcon
Copy link
Member

elbrujohalcon commented Sep 16, 2024

To be clear: I would not release 4.0.0 yet… I would pick a few more tickets to tackle before it goes out. I'll make a milestone and associate a few issues with it.

@elbrujohalcon elbrujohalcon merged commit 65a5e86 into inaka:main Sep 16, 2024
9 checks passed
@elbrujohalcon
Copy link
Member

There you go, folks: https://github.com/inaka/elvis_core/milestone/7

@elbrujohalcon elbrujohalcon added this to the 4.0.0 milestone Sep 16, 2024
@paulo-ferraz-oliveira paulo-ferraz-oliveira changed the title Update atom naming convention with a more relaxed regex Breaking: update atom naming convention's default regex Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug (?) in atom_naming_convention
3 participants