Skip to content

[BUGFIX] SonarQube: Prefer Number.parseInt over parseInt.#834

Merged
sir-gon merged 3 commits into
mainfrom
develop
Oct 6, 2025
Merged

[BUGFIX] SonarQube: Prefer Number.parseInt over parseInt.#834
sir-gon merged 3 commits into
mainfrom
develop

Conversation

@sir-gon

@sir-gon sir-gon commented Oct 6, 2025

Copy link
Copy Markdown
Owner

Number static methods and properties should be preferred over global equivalents typescript:S7773

Comment thread src/hackerrank/interview_preparation_kit/search/swap_nodes_algo.ts Fixed
Gonzalo Diaz added 2 commits October 6, 2025 12:59
Number static methods and properties should be preferred over global equivalents typescript:S7773
@codecov

codecov Bot commented Oct 6, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (831c4a7) to head (bc83db6).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##              main      #834    +/-   ##
==========================================
  Coverage   100.00%   100.00%            
==========================================
  Files          110       110            
  Lines         4343      4346     +3     
  Branches       504       715   +211     
==========================================
+ Hits          4343      4346     +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Built-in constructors should be called consistently with or without "new" typescript:S7723
@sonarqubecloud

sonarqubecloud Bot commented Oct 6, 2025

Copy link
Copy Markdown

@sir-gon
sir-gon merged commit 910cd5b into main Oct 6, 2025
43 checks passed
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