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: forbid console.log #17

Merged
merged 1 commit into from
Mar 15, 2024
Merged

Conversation

friedrith
Copy link
Owner

Context

The console.log function was authorized in the code and it is not a good practice.

Description

The eslint rule no-console was set to error while style accepting console.error and console.warning

Closes #16

Technical details

  • chore: add eslint rules no-console
  • refactor: remove most of the console.log uses
  • refactor add function printOutput

@friedrith friedrith merged commit 3fcc51e into master Mar 15, 2024
1 check passed
@friedrith friedrith deleted the refactor/forbid_console_log branch March 15, 2024 18:40
Copy link

🎉 This PR is included in version 1.13.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

chore: activate no-console eslint error
1 participant