-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
whitespace is enforced asymetric #8
Comments
I encountered a similar issue when using $servers.reduce({}) |$memo, $server| {
...
} This fails $servers.reduce( {} ) |$memo, $server| { Now I get The plugin is happy with $servers.reduce( {}) |$memo, $server| { though. |
Me too:
|
seems to be fixed |
Signed-off-by: Jo Vandeginste <[email protected]>
@jovandeginste With version For example, given this manifest, only the first line should pass.
However only line 3 reports a problem:
Seems like the whitespace to the right of an open parenthesis isn't being checked? |
Yes, I added tests to track this. Work to be done! |
I thinks this is fixed in v0.2.1 |
(Please provide more test cases if you find more issues!) |
Looks fixed to me. thanks! |
Hi!
first off, sorry for the bad issue title. given the following code:
this puppet-lint plugin assumes that this code is fine. However I think the following line is bad:
I don't understand why the plugin enforces a whitespace between
(
and{
, but not between}
and)
. This looks really odd. I think the first space needs to go away or a space should be added at the end.The text was updated successfully, but these errors were encountered: