whitesmith / whitesmith/rubycritic

How disable storage HTML report files in project?

Open
#313 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Ruby
Stars
3.5k
Forks
234
PR merge metrics
No merged PRs in 30d

Description

Hi, I have some project files:

$ ls /project/config/
client.rb
server.rb

I run rubycritic:

$ rubycritic --no-browser /project/config/

rubycritic created /tmp directory with /tmp/rubycritic/overview.html and other files.
It is ok.

But rubycritic created also .html files in project directory:

$ ls /project/config/
client.rb
client.html
server.rb
server.html

How I can disable storage .html report files in project directory?
I want rubycritic to save its files only in /tmp.

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

Start with the rubycritic command and its --no-browser option, then trace where per-file HTML reports are written relative to the requested /tmp output. Done means keeping the overview and other reports in /tmp while preventing client.html and server.html from being created in /project/config/; verify with the command shown.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
tooling
Issue type
Feature
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.