ManageIQ / ManageIQ/miq_bot

haml-lint issues always show either warning or error

Open
#68 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug help wanted pinned
Dominant language
Ruby
Stars
16
Forks
39
Avg merge
1d 11h
Merged PRs (30d)
8

Description

- Certain cops are being bucketed incorrectly. For example, "Line length too long" is coming up as a warning instead of a lower level severity. See https://github.com/ManageIQ/manageiq/pull/3126#issuecomment-111466039 for an example
- On that same example, it shows line length max as 80, when the it should be 120. This implies it's not honoring the .haml-lint file properly.

@skateman Can you figure these out?

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 by examining the .haml-lint configuration and the behavior shown in the linked ManageIQ pull request comment. Verify how cop severities and the configured line-length limit are read, then confirm that the example reports the intended lower severity and a maximum of 120.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.