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

Wiki and/or code issues #523

Closed
paulo-ferraz-oliveira opened this issue Sep 7, 2020 · 7 comments
Closed

Wiki and/or code issues #523

paulo-ferraz-oliveira opened this issue Sep 7, 2020 · 7 comments

Comments

@paulo-ferraz-oliveira
Copy link
Collaborator

  1. elvis_style:no_spaces/3 isn't documented as a rule. Is it a rule? The warning text is Line ~p has a spaces at column ~p..
  2. [this will probably spawn code] should we add gen_statem to "State Record and Type"?
  3. both no_seqbind and no_useless_seqbind are rules that aren't specified in the Wiki. Should they be?
@elbrujohalcon
Copy link
Member

WOAH! Thank you, @paulo-ferraz-oliveira !!
To answer your questions…

  1. Yes. It's a rule that's not part of the erl_files ruleset.
  2. Yes, and yes… it requires a tiny code change.
  3. Yes. They're rules that are not part of erl_files. As a matter of fact, since I don't think anybody is using them, I would just remove them.

@elbrujohalcon
Copy link
Member

I don't remember who hated https://github.com/lpgauth/seqbind so thoroughly… but there must be an easier way to prevent its usage than using an elvis rule.

@paulo-ferraz-oliveira
Copy link
Collaborator Author

WOAH! Thank you, @paulo-ferraz-oliveira !!
To answer your questions…

  1. Yes. It's a rule that's not part of the erl_files ruleset.
  2. Yes, and yes… it requires a tiny code change.
  3. Yes. They're rules that are not part of erl_files. As a matter of fact, since I don't think anybody is using them, I would just remove them.
  1. Got it.
  2. Make sure gen_statem follows the same rule as gen_server elvis_core#128
  3. Simplify by removal of seemingly unused rules no_seqbind and no_useless_seqbind elvis_core#129

@elbrujohalcon
Copy link
Member

I think this is done.

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

No branches or pull requests

2 participants