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

Silent mode, no cexpr if no violation is found #20

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

Conversation

beatgutzwiller
Copy link

If you use rubocop -a as autocmd on save, it will always open a cexpr.
This is quite irritating. This commits add a silent flag (--silent, -s) to supress this behaviour.
Also it prevents the cexpr to be shown if no violation is found, and shows a message instead.
In my opinion this should always be on, since it is useless to open an empty cexpr. But feel free to make it configurable if wanted.

@roseliux
Copy link

roseliux commented Apr 6, 2020

can this made it to master? I need this

@beatgutzwiller
Copy link
Author

can this made it to master? I need this

I think this repo is not updated anymore. There are 37 Forks. Choose one with the right fix. I use mine but I am fairly certain there are better!

@roseliux
Copy link

roseliux commented Apr 6, 2020

alright @beatgutzwiller thanks 😄

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.

None yet

3 participants