Skip to content

lint: Enable rule to ban unexplained `console.error` calls

Warren Gifford requested to merge mihir/26582-enable-console.error-rule into main

Created by: plibither8

This PR is completes https://github.com/sourcegraph/sourcegraph/issues/26582 and builds upon this PR in the codemod repo.


This PR:

  1. Enables warning for the no-unexplained-console-error eslint rule created here
  2. Logs to console the exceptions that were passed to Sentry through Sentry.captureException in development mode.

Test plan

Manually checked for warnings created by eslint VS Code extension when console.error calls are uncommented.

App preview:

Check out the client app preview documentation to learn more.

Merge request reports

Loading