Skip to content

NEW @W-21364933@ Adding changes for inline suppression marker#440

Merged
namrata111f merged 7 commits intodevfrom
ng-inline-suppress
Mar 18, 2026
Merged

NEW @W-21364933@ Adding changes for inline suppression marker#440
namrata111f merged 7 commits intodevfrom
ng-inline-suppress

Conversation

@namrata111f
Copy link
Contributor

@namrata111f namrata111f commented Mar 16, 2026

These changes are to add inline suppression marker in the Code Analyzer. User can use these in their source code to suppress violations in particular blocks of code. We are allowing following levels of suppress/unsuppress markers:
1- suppress(all)
2- suppress(engine)
3- suppress(engine:ruleName)
4- suppress(engine:[severities])
Demo: https://drive.google.com/file/d/1H0XzMkxV4wIi3qXdCmq0cXyw4JeOchJn/view?usp=sharing
Manual Testing: https://docs.google.com/document/d/1_8ntH7uL1DkDfoNbubN2UiQKD7J6UYiYLMX4K5ocm8w/edit?usp=sharing
Performance Implications: https://docs.google.com/document/d/1_8ntH7uL1DkDfoNbubN2UiQKD7J6UYiYLMX4K5ocm8w/edit?usp=sharing

Copy link
Contributor

@aruntyagiTutu aruntyagiTutu left a comment

Choose a reason for hiding this comment

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

as discussed please add performance benchmarks

Copy link
Contributor

@aruntyagiTutu aruntyagiTutu left a comment

Choose a reason for hiding this comment

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

Add PR description explaining the feature

@aruntyagiTutu
Copy link
Contributor

as discussed - Consider adding integration tests - Show it works end-to-end

@namrata111f
Copy link
Contributor Author

Will add the performance benchmarks and PR description. I am still testing few cases hence have not shared the PR in channel.

@namrata111f
Copy link
Contributor Author

namrata111f commented Mar 17, 2026

@aruntyagiTutu The e2e/integrations tests are added as part of the code analyer cli and not in core. Currently the feature is gated with false feature. I can add the integration tests in cli once we make this feature user configurable from config yml file.

@namrata111f namrata111f merged commit caf9ab6 into dev Mar 18, 2026
7 checks passed
@namrata111f namrata111f deleted the ng-inline-suppress branch March 20, 2026 04:34
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