lint: Enable rule to ban unexplained `console.error` calls
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:
- Enables warning for the
no-unexplained-console-error
eslint rule created here - 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.