Skip to content

Ban usage of `console.error()` without a comment explaining why it should be used

Created by: valerybugakov

  1. Explanation for the rule: default to reporting errors to Sentry. Suggest to use sentry.captureException(error) instead.
  2. Change Sentry behavior to log errors to the console in the development environment.

Based on the RFC 501: Runtime error monitoring.