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

refactor(core): ARC-69 ignore rest of sonar smells #73

Merged
merged 1 commit into from
Dec 14, 2023
Merged

Conversation

sf-sahil-jassal
Copy link
Contributor

ignore sonar code smells related to error handling consoles and unpredictable any types

Comment on lines 37 to 38
// eslint-disable-next-line no-console
console.log('sending refresh token....'); // NOSONAR
Copy link
Contributor

Choose a reason for hiding this comment

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

are these consoles really necessary

Copy link
Contributor

Choose a reason for hiding this comment

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

This is not needed. This can be removed.

src/Helpers/authorizationFunctions.ts Show resolved Hide resolved
Comment on lines +60 to +61
// eslint-disable-next-line no-console
console.log('Configuration file copied to public directory.'); // NOSONAR
Copy link
Contributor

Choose a reason for hiding this comment

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

same is the necessary

Copy link
Contributor

Choose a reason for hiding this comment

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

This is only during the development, we can keep this.

Comment on lines +54 to +55
// eslint-disable-next-line no-console
console.log('Configuration file written in current directory.'); // NOSONAR
Copy link
Contributor

Choose a reason for hiding this comment

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

same is the necessary

Copy link
Contributor

Choose a reason for hiding this comment

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

Same for this this is only during development.

@yeshamavani
Copy link
Contributor

@Yogi-Vishwas are these consoles really required

ignore sonar code smells related to unexpected console
statments in handling errors
Copy link

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

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

See analysis details on SonarCloud

@yeshamavani yeshamavani merged commit 61c67c5 into main Dec 14, 2023
1 of 3 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.

3 participants