Files
node/tools/node_modules/eslint/lib/logging.js
T
cjihrig 7a3bbbf41b tools: update ESLint to 5.0.0
This is a new major release of ESLint.

PR-URL: https://github.com/nodejs/node/pull/20855
Reviewed-By: Rich Trott <rtrott@gmail.com>
2018-06-24 12:43:54 -04:00

29 lines
430 B
JavaScript

/**
* @fileoverview Handle logging for ESLint
* @author Gyandeep Singh
*/
"use strict";
/* eslint no-console: "off" */
/* istanbul ignore next */
module.exports = {
/**
* Cover for console.log
* @returns {void}
*/
info(...args) {
console.log(...args);
},
/**
* Cover for console.error
* @returns {void}
*/
error(...args) {
console.error(...args);
}
};