Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix S6846: location on tag name was 1 column too far #272

Merged
merged 1 commit into from
Feb 16, 2024

Conversation

ilia-kebets-sonarsource
Copy link
Contributor

Screenshot 2024-02-16 at 09 28 13

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, but to be honest, I wonder whether we should avoid doing this kind of error-prone arithmetic and keep raising on nodes and lines just like the other rules do for now.

For me, it would make more sense to plan a different sprint and invest in improving the analyzer API for better issue reporting (and maybe quickfixes). Then we could come back to each implemented rule and improve reported issue locations.

What do you think?

@ilia-kebets-sonarsource ilia-kebets-sonarsource merged commit 057fe7d into master Feb 16, 2024
8 checks passed
@ilia-kebets-sonarsource ilia-kebets-sonarsource deleted the fix-S6846-location branch February 16, 2024 08:39
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.

3 participants