src/logger/console.logger.ts

Summary

Maintainability
A
0 mins
Test Coverage

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

        console.log(chalk.yellow(`⚠ ${text}`));
Severity: Minor
Found in src/logger/console.logger.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.

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

        console.log(chalk.green("\u2714 ") + text);
Severity: Minor
Found in src/logger/console.logger.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