We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
prefer_unquoted_atoms
Prefer unquoted atoms unless quotes are necessary.
This one is not a technical concern, but a readability concern. The code will behave identical in both ways.
elvis shall warn that your atoms are quoted when they don't have to be.
elvis
Note: if you're using a formatter this could/should already be taken into account by it.
Inspired by Credo's https://hexdocs.pm/credo/Credo.Check.Readability.PreferUnquotedAtoms.html.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Name
prefer_unquoted_atoms
Brief Description
Prefer unquoted atoms unless quotes are necessary.
Reasoning
This one is not a technical concern, but a readability concern. The code will behave identical in both ways.
Refactoring Proposal
elvis
shall warn that your atoms are quoted when they don't have to be.Note: if you're using a formatter this could/should already be taken into account by it.
Origin
Inspired by Credo's https://hexdocs.pm/credo/Credo.Check.Readability.PreferUnquotedAtoms.html.
The text was updated successfully, but these errors were encountered: