Skip to content

refactor(sonar): prefer optional chaining (S6582) - #3367

Merged
setchy merged 1 commit into
mainfrom
sonar/S6582
Oct 3, 2026
Merged

setchy merged 1 commit into
mainfrom
sonar/S6582

Conversation

@setchy

@setchy setchy commented Oct 3, 2026 •

Copy link
Copy Markdown
Member

SonarCloud: typescript:S6582 (filtered issues)

Resolves Sonar rule typescript:S6582 — Optional chaining should be preferred (1 issue).

Login.tsx: replaced prev && prev.left === ... with prev?.left === ... && prev?.width === ....

Lint, tsc, and the full test suite pass.

@github-actions github-actions Bot added the refactor Refactoring of existing feature label Oct 3, 2026
@sonarqubecloud

sonarqubecloud Bot commented Oct 3, 2026

Copy link
Copy Markdown

@setchy
setchy marked this pull request as ready for review October 3, 2026 21:12
@setchy
setchy requested a review from afonsojramos as a code owner October 3, 2026 21:12
@setchy
setchy enabled auto-merge (squash) October 3, 2026 21:12
@setchy
setchy disabled auto-merge October 3, 2026 21:13
@setchy
setchy merged commit 30fd086 into main Oct 3, 2026
27 checks passed
@setchy
setchy deleted the sonar/S6582 branch October 3, 2026 21:13
@github-actions github-actions Bot added this to the Release 7.x.x milestone Oct 3, 2026
@github-actions

github-actions Bot commented Oct 4, 2026

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in Gitify v7.9.0! 🎉

Downloads for macOS, Windows, and Linux are available on the release page.

Thanks for helping make Gitify better!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refactor Refactoring of existing feature

Development

Successfully merging this pull request may close these issues.

1 participant