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

Fix Sonarqube code smells and lint errors #599

Merged
merged 2 commits into from
Mar 29, 2021

Conversation

skShekhar
Copy link
Contributor

This PR fixes the left over Sonar code smells mentioned in #548.

  • Changed paths to moduleDirectory in import/resolver to fix the Unable to resolve path to module xyz eslint warning

@@ -1,5 +1,4 @@
/* eslint-disable */ // TODO: Remove this
import React, { useState } from 'react';
import React from 'react';
Copy link
Collaborator

Choose a reason for hiding this comment

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

Good catch

simplq/.eslintrc.json Outdated Show resolved Hide resolved
simplq/src/store/asyncActions/getQueueInfo.js Show resolved Hide resolved
Copy link
Collaborator

@daltonfury42 daltonfury42 left a comment

Choose a reason for hiding this comment

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

Thanks a lot for the PR!

Now that you have the project setup, would you like to take a stab at a feature implementation? This is a good candidate #425

@maaverik maaverik merged commit d3c1f70 into SimplQ:master Mar 29, 2021
@skShekhar skShekhar deleted the sonar-code-smell branch March 29, 2021 08:54
@skShekhar
Copy link
Contributor Author

@daltonfury42 I can work on the max queue feature. I'm new to open source, so I wanted to know where can I post queries for any clarifications related to the feature?

@daltonfury42
Copy link
Collaborator

For any clarifications needed before you start, you can post comments on the issue thread #425.

Once you have some code ready, you can raise a draft PR and we can also discuss on the PR, if needed.

maaverik added a commit that referenced this pull request Apr 17, 2021
* Remove amplify backend (#524)

* Async actions for Queue Status and My Queues API calls (#522)

* Add gitter chat badge (#530)

* Pick api base url from config. (#525)

* Remove unused backend env amplify (#532)

* Add LoadingStatus Component (#531)

* Add LoadingStatus Component

Upgrade storybook to 6.1.17

Fix LoadingIndicator stories

* Pause resume queue (#586)

* Merge fixes after pause queue (#598)

* Add plus prefix to phone number, rename onClick to onSubmit (#600)

* Fix Sonarqube code smells and lint errors (#599)

* Fix Sonarqube code smells and lint errors

* Address review comments - revert direct return and eslintrc

* Some minor changes to add A2HS (#602)

* Added size property to the icons & shortened name

* file name changed

* a square 144x144px icon of the logo

* register the service worker to enable pwa

* Modified phone icon on footer and ErrorHandler (#604)

* Removed phone icon with outdated link

* Added optional chaining in PageNotFound

* Fix return home button when reaching from errorHandler

* Intentional bug to check sentry logging

* Customized sentry logs

* Still experimenting with sentry

* Trying another approach

* Reverted intentional bugs and removed popup notifcation  (#605)

* Reverted intentional bugs and removed popup notifcation

* Fix code style issues with ESLint

* Make Contact Us on Navbar bit more bold to stand out (#609)
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.

4 participants