PolicyEngine / policyengine-app

PolicyEngine's free web app for computing the impact of public policy.
GNU Affero General Public License v3.0
32 stars 86 forks source link

Implement a linting rule to discourage or prevent `console.log` and convert desired outputs to `console.error`, `console.warn`, etc. #1665

Open anth-volk opened 2 weeks ago

anth-volk commented 2 weeks ago

This could hopefully prevent some junk code that seems to find its way into the app at various points

psankhe28 commented 2 weeks ago

I've made the required changes and created the PR https://github.com/PolicyEngine/policyengine-app/pull/1708 Please have a look at it