JamieMason/jest-fail-on-console-reporter

View on GitHub
test/fixtures/with-logs.ts

Summary

Maintainability
A
0 mins
Test Coverage

Calls to 'console.log' are not allowed.
Open

  console.log('foo bar baz');
Severity: Minor
Found in test/fixtures/with-logs.ts by tslint

Rule: no-console

Bans the use of specified console methods.

Rationale

In general, console methods aren't appropriate for production code.

Config

A list of method names to ban. If no method names are provided, all console methods are banned.

Examples
"no-console": true,log,error
Schema
{
  "type": "array",
  "items": {
    "type": "string"
  }
}

For more information see this page.

There are no issues that match your filters.

Category
Status