Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fixed sonar issues #526

Merged
merged 3 commits into from
Jun 3, 2024
Merged

chore: fixed sonar issues #526

merged 3 commits into from
Jun 3, 2024

Conversation

basmasking
Copy link
Member

Fixes #525

Changes proposed in this pull request:

  • removed unnecessary typing
  • use nullish coalescing
  • removed unused imports, constructor, etc.

@MaskingTechnology/jitar

@basmasking basmasking linked an issue Jun 2, 2024 that may be closed by this pull request
@@ -14,13 +14,13 @@ const App: Component = () => {
return (
<>
<a href="https://vitejs.dev" target="_blank">
<img src="/vite.svg" class="logo" alt="Vite logo" />
<img src="/vite.svg" className="logo" alt="Vite logo" />
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The previous code was correct. SolidJS doesn't support the className property. See docs for more info:
https://docs.solidjs.com/concepts/components/class-style

It looks like Sonar has interpreted this as React code.

Copy link

sonarcloud bot commented Jun 3, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@petermasking petermasking merged commit 55080c4 into main Jun 3, 2024
6 checks passed
@petermasking petermasking deleted the 525-address-sonar-issues branch June 3, 2024 11:21
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.

Address sonar issues
2 participants