Skip to content

Fix off-by-one error in code-climate formatter#2965

Open
smsalisbury wants to merge 3 commits into
stoplightio:developfrom
smsalisbury:develop
Open

Fix off-by-one error in code-climate formatter#2965
smsalisbury wants to merge 3 commits into
stoplightio:developfrom
smsalisbury:develop

Conversation

@smsalisbury

@smsalisbury smsalisbury commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

Checklist

  • Tests added / updated
  • Docs added / updated

Does this PR introduce a breaking change?

  • Yes
  • No

If indicated yes above, please describe the breaking change(s).

The output of the code-climate formatter is changed. If someone has compensated for the off-by-one error using external tooling, that compensation will need to be removed.

Additional context

Since the line values are zero-indexed, the values in the report need to be offset by one to match the report format.

@smsalisbury smsalisbury marked this pull request as ready for review June 2, 2026 21:18
@smsalisbury smsalisbury requested a review from a team as a code owner June 2, 2026 21:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant