Skip to content

fix(linter): narrow annotation spans to highlight minimal code regions#1282

Merged
azjezz merged 1 commit intocarthage-software:mainfrom
dotdash:fix_linter_narrow_annotation_spans_to_highlight_minimal_code_regions
Mar 2, 2026
Merged

fix(linter): narrow annotation spans to highlight minimal code regions#1282
azjezz merged 1 commit intocarthage-software:mainfrom
dotdash:fix_linter_narrow_annotation_spans_to_highlight_minimal_code_regions

Conversation

@dotdash
Copy link
Contributor

@dotdash dotdash commented Mar 2, 2026

📌 What Does This PR Do?

Reduces the primary span for cyclomatic-complexity and kan-defect diagnostics so editors don't highlight the whole class body.

🔍 Context & Motivation

Highlight noise in the editor makes things unrecognizable.

🛠️ Summary of Changes

  • Bug Fix: Reduced the span size for cyclomatic-complexity and kan-defect to be less noisy in editors

📂 Affected Areas

  • Linter
  • Formatter
  • CLI
  • Dependencies
  • Documentation
  • Other (please specify):

🔗 Related Issues or PRs

More of the same as for #745

📝 Notes for Reviewers

🌈

@azjezz azjezz merged commit 9b6c1a6 into carthage-software:main Mar 2, 2026
7 checks passed
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.

2 participants