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

WIP [Close #178] add no spaces rule #229

Merged
merged 2 commits into from
May 20, 2015
Merged

Conversation

Euen
Copy link
Member

@Euen Euen commented May 20, 2015

[Close #178] add no spaces rule

not_ok. %%This lines has a spaces

two() ->
ok. %%This one doesn't
Copy link
Member

Choose a reason for hiding this comment

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

According to Elvis:

Line 9 has a tab at column 0.

Copy link
Member

Choose a reason for hiding this comment

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

According to Elvis:

Line 9 has a tab at column 0.

@Euen Euen changed the title [Close #178] add no spaces rule WIP [Close #178] add no spaces rule May 20, 2015
@@ -23,6 +24,8 @@

-define(NO_TABS_MSG, "Line ~p has a tab at column ~p.").

-define(NO_SPACES_MSG, "Line ~p has a spaces at column ~p.").
Copy link
Member

Choose a reason for hiding this comment

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

It should be "Line ~p uses spaces as indentation at column ~p."


two() ->
ok. %%This one doesn't

Copy link
Member

Choose a reason for hiding this comment

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

According to Elvis:

Line 10 has 13 trailing whitespace characters.

elbrujohalcon pushed a commit that referenced this pull request May 20, 2015
@elbrujohalcon elbrujohalcon merged commit 67ef838 into master May 20, 2015
@Euen Euen deleted the euen.178.no_spaces_rule branch July 3, 2015 13:40
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.

Don't use spaces for indentation
3 participants