Skip to content

fix(quality): resolve SonarCloud issues S7727 and S6861 - #17

Merged
SMOSTAFAH1 merged 1 commit into
mainfrom
develop
Nov 22, 2026
Merged

SMOSTAFAH1 merged 1 commit into
mainfrom
develop

Conversation

@SMOSTAFAH1

Copy link
Copy Markdown
Member

Summary

Resolves two SonarCloud Quality Gate issues on new code:

  1. typescript:S7727: Replace direct method passing with explicit arrow callback in markdown/renderers/reactHtmlSubset.tsx.
  2. typescript:S6861: Export countSteps as const with module-private active handler in markdown/scanSteps.ts.

Verification

  • npm run typecheck passed (0 errors)
  • npm run quality passed (all quality gates met)
  • npm run test:unit passed (434/434 tests green)

…issues

- Fix typescript:S7727 by using explicit arrow callback in renderHtmlElement
- Fix typescript:S6861 by exporting countSteps as const with internal active function
@SMOSTAFAH1 SMOSTAFAH1 self-assigned this Nov 22, 2026
@sonarqubecloud

Copy link
Copy Markdown

@SMOSTAFAH1
SMOSTAFAH1 merged commit 683be5c into main Nov 22, 2026
6 checks passed
@SMOSTAFAH1
SMOSTAFAH1 deleted the develop branch November 22, 2026 02:45
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