code: function getChalk(code) {
      if (code.slice(0, 1) === 'I') {
          return chalk.blue;
      } else if (code.slice(0, 1) === 'W') {
          return chalk.yellow;
      } else {
          return chalk.red;
      }
  }
docs: _JS Hint_ prefixes messages with a letter to determine if it's informational, a warning, or an error. By using these the correct log level can be determined