-
Notifications
You must be signed in to change notification settings - Fork 3
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
Add rebar3 formatting #5
Conversation
TargetAPI :: string() | undefined, % e.g., "DynamoDB_20120810.CreateTable" | ||
Method :: string(), % e.g., "GET", "POST" | ||
Path :: string(), | ||
Service :: string(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the comments were deleted :(
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
…by hand, yes… I could've just moved them but I thought they pretty much stated the obvious.
[Credentials] -> | ||
MinLifetime = ?MIN_LIFETIME, | ||
case remaining_lifetime(Credentials) of | ||
N when N =< MinLifetime -> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
case indentation is 2 and the statement body is actually 4, is that expected?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, it seems that that's the case for all cases, so, I guess it's expected
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's expected and configurable: it's called sub_indent
, the default is 2
but we can use 4
to match the rest of the indentation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should be consistent across projects, tho… and we're using the default for spillway, mero, etc…
No description provided.