Skip to content

refactor(sonar): keep deprecated showOnRightClick support explicit (typescript:S1874) - #211

Merged
setchy merged 3 commits into
mainfrom
fix/sonar/typescript-S1874
Oct 7, 2026
Merged

setchy merged 3 commits into
mainfrom
fix/sonar/typescript-S1874

Conversation

@setchy

@setchy setchy commented Oct 3, 2026 •

Copy link
Copy Markdown
Member

Summary

src/Menubar.ts continues to honour the deprecated showOnRightClick option. This is deliberate — it is public API and must work until its breaking removal in the next major release (see Options.showOnRightClick). A NOSONAR:typescript:S1874 marker documents that the deprecated API use is intentional.

Findings

SonarQube rule typescript:S1874 flags the internal use of the deprecated
showOnRightClick option. The option is part of the public API, so it must
keep working until the breaking removal in the next major release; a
NOSONAR marker documents that intent.
@setchy setchy changed the title fix(menubar): address SonarQube typescript:S1874 finding refactor(sonar): keep deprecated showOnRightClick support explicit (typescript:S1874) Oct 3, 2026
@setchy setchy closed this Oct 3, 2026
@setchy setchy reopened this Oct 3, 2026
@sonarqubecloud

sonarqubecloud Bot commented Oct 4, 2026

Copy link
Copy Markdown

@setchy
setchy marked this pull request as ready for review October 7, 2026 12:15
@setchy
setchy requested a review from afonsojramos as a code owner October 7, 2026 12:15
@setchy
setchy merged commit 7bd48b9 into main Oct 7, 2026
30 checks passed
@setchy
setchy deleted the fix/sonar/typescript-S1874 branch October 7, 2026 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant