HospitalRun / hospitalrun

Monorepo that holds all of HospitalRun's v2 projects.
https://hospitalrun.io
MIT License
904 stars 335 forks source link

Disallow console log in ESLint #423

Closed Tomastomaslol closed 4 years ago

Tomastomaslol commented 4 years ago

🐛 Bug Report

As a followup to https://github.com/HospitalRun/hospitalrun-frontend/issues/2286 I thought it might be desirable to not allow any log messages in the application using a ESlint rule https://eslint.org/docs/rules/no-console

Proposed changes

Is there any good reason why console logs should be kept in the application?

Tomastomaslol commented 4 years ago

Woops opened the issue in the wrong repository closing in favour of https://github.com/HospitalRun/hospitalrun-frontend/issues/2307