Option "-t / --maximum-decrease" Float value support

Open Beginner friendly
#519 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

Research direction

Locate the CLI definition for -t / --maximum-decrease and trace how its value is parsed. Reproduce the issue with threshold 0.1, then verify that decimal values are accepted while existing integer usage still works.

Written by the indexing model from the issue text.

Description

Option -t / --maximum-decrease supports only Integer. So it can't be used for threshold 0.1.

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

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.

More from whitesmith/rubycritic

All issues in whitesmith/rubycritic

Similar issues

More Ruby issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.