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

update config to modify rules #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Riz-v
Copy link

@Riz-v Riz-v commented Jun 16, 2022

Updated the config rules for reek.

We are changing the rules for duplicate Method calls, because we end up always ignoring this lint as most of the time it is not necessary / inconvenient. We did not disable it we allowed the max calls to 4.

We are also changing the repeated conditional rule and allowing it to do 4 max ifs. This too is most of the time ignored by devs and most of the time it does not make sense to fix the lint in complex services.

@luxflux
Copy link
Contributor

luxflux commented Jun 16, 2022

Generally, it looks good to me. Could you explain in the PR description a bit more why these are legit changes? Something like a sales pitch? Then we know later why we changed it (except "just annoying")...

@mal-wtag
Copy link

Generally, it looks good to me. Could you explain in the PR description a bit more why these are legit changes? Something like a sales pitch? Then we know later why we changed it (except "just annoying")...

@rah-wtag please create a story and link this pr as suggested by Raffael

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.

4 participants