Skip to content

chore: address sonar warnings#21728

Draft
ercultimate wants to merge 14 commits into
developfrom
feature/sonar-misc
Draft

chore: address sonar warnings#21728
ercultimate wants to merge 14 commits into
developfrom
feature/sonar-misc

Conversation

@ercultimate

@ercultimate ercultimate commented Jul 10, 2026

Copy link
Copy Markdown
Contributor
  • typescript:S1871 - Two conditional branches should not have the same implementation
  • typescript:S4624 - do not use nested template literals
  • typescript:S108 - empty switch statement
  • typescript:S2589 - expression always evaluates to truthy
  • typescript:S4623 - redundant "undefined"
  • typescript:S7744 - unnecessary fallback objects when spreading in object literals
  • typescript:S4140 - sparse arrays should not be created with extra commas
  • typescript:S6650 - destructuring assignments should not be to the same name
  • typescript:S4782 - Optional property declarations should not use both '?' and 'undefined' syntax
  • typescript:S7748 - number literals should not have unnecessary decimal points or trailing zeros
  • typescript:S881 - increment/decrement operators should not be used in a method call or mixed with other operators in an expression
  • typescript:S6557 - string ends should be checked with "startsWith()" and "endsWith()"
  • typescript:S1854 - unused assignments should be removed
  • typescript:S6594 - RegExp.exec() should be preferred over String.match()

@ercultimate ercultimate requested review from a team as code owners July 10, 2026 13:58
@github-actions github-actions Bot marked this pull request as draft July 10, 2026 13:58
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