Get amount of files with violations and violations per file #11911
Closed
mjhymowitz
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, My team recently implemented rubocop into our project and it has a lot of violations. I want to work on the issue, file by file. I'm trying to get some more statistics data from rubocop to break down the problem but there doesn't seem to be a way. Currently I can only see that out of the 3K files in the project there are 10K violations.
My Idea is to add a command that returns a list of file names and the amount of violations in each file(
rubocop -statisics
). Maybe add a way to get just the top X amount of offending files (rubocop -statisics X
)Beta Was this translation helpful? Give feedback.
All reactions