whitesmith / whitesmith/rubycritic

When specify more directories = mess in git repository

Open
#150 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug good first issue Hacktoberfest
Dominant language
Ruby
Stars
3.5k
Forks
234
PR merge metrics
No merged PRs in 30d

Description

We have multiple libraries in our project (rails engines), if we specified them for rubycritic

rubycritic components/ui/app components/ui/lib components/core/app

it works well, but it creates for each file in components/**/.rbdirectory html report file with same name + html and it is a big problem. We are able to gitignore tmp directory, but we can't ignore all html files...

I try to set manually rubycritic .... -p tmp/rubycritic, but it does not help. Maybe i've missed something in configuration?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the multi-directory command rubycritic components/ui/app components/ui/lib components/core/app and compare it with -p tmp/rubycritic. Inspect how the CLI handles report paths for multiple inputs. Done means generated HTML reports stay in the configured output directory rather than appearing beside source files.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.