-
Notifications
You must be signed in to change notification settings - Fork 418
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
Ignore white-space after a trailing comma in a list #61
Comments
Ah, did not think of this. Thanks for reporting! 👍 |
@eksperimental I released a fix in I'm not really sure if it was a good idea that Thoughts? |
thank you! |
I think I missed your previous comment, |
I found to be good practice to leave lists to contain a trailing comma,
@options [foo: 1, bar: 2, ]
so it's implied that more elements can be added to this list,
but when running
mix credo --strict
I will get a warning:The warning is gone when I remove the trailing white space
would it be possible to ignore the trailing space when it's presided by a comma, and just judge the list by whether it starts with a white-space or not.
thank you for creating such a beautiful tool
The text was updated successfully, but these errors were encountered: