Skip to content

Conversation

huyz
Copy link

@huyz huyz commented Sep 22, 2025

Comments must have # starting the line. Inline #s would just prevent the ignore lines from working as intended.

Reasons for making this change

Fix a syntax error which makes .idea/sonarlint.xml ineffective

Links to documentation supporting these rule changes

TODO

https://git-scm.com/docs/gitignore

A line starting with # serves as a comment.

Merge and Approval Steps

  • Confirm that you've read the contribution guidelines and ensured your PR aligns
  • Ensure CI is passing
  • Get a review and Approval from one of the maintainers

Comments must have `#` starting the line. Inline `#`s would just prevent the ignore lines from working as intended.
@Copilot Copilot AI review requested due to automatic review settings September 22, 2025 06:55
@huyz huyz requested a review from a team as a code owner September 22, 2025 06:55
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes a .gitignore syntax issue in the JetBrains global template so that SonarLint files are properly ignored.

  • Move the inline “#” comment to its own line to comply with .gitignore rules
  • Ensure .idea/sonarlint.xml is correctly ignored

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

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