Actualizacion maquina principal
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / eslint / lib / shared / logging.js
diff --git a/.config/coc/extensions/node_modules/coc-prettier/node_modules/eslint/lib/shared/logging.js b/.config/coc/extensions/node_modules/coc-prettier/node_modules/eslint/lib/shared/logging.js
new file mode 100644 (file)
index 0000000..6aa1f5a
--- /dev/null
@@ -0,0 +1,30 @@
+/**
+ * @fileoverview Handle logging for ESLint
+ * @author Gyandeep Singh
+ */
+
+"use strict";
+
+/* eslint no-console: "off" */
+
+/* istanbul ignore next */
+module.exports = {
+
+    /**
+     * Cover for console.log
+     * @param {...any} args The elements to log.
+     * @returns {void}
+     */
+    info(...args) {
+        console.log(...args);
+    },
+
+    /**
+     * Cover for console.error
+     * @param {...any} args The elements to log.
+     * @returns {void}
+     */
+    error(...args) {
+        console.error(...args);
+    }
+};