summaryrefslogtreecommitdiff
path: root/tools/eslint/node_modules/remark-stringify/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'tools/eslint/node_modules/remark-stringify/index.js')
-rw-r--r--tools/eslint/node_modules/remark-stringify/index.js30
1 files changed, 30 insertions, 0 deletions
diff --git a/tools/eslint/node_modules/remark-stringify/index.js b/tools/eslint/node_modules/remark-stringify/index.js
new file mode 100644
index 0000000000..44b01bb09f
--- /dev/null
+++ b/tools/eslint/node_modules/remark-stringify/index.js
@@ -0,0 +1,30 @@
+/**
+ * @author Titus Wormer
+ * @copyright 2015-2016 Titus Wormer
+ * @license MIT
+ * @module remark:stringify
+ * @fileoverview Markdown Compiler.
+ */
+
+'use strict';
+
+/* eslint-env commonjs */
+
+/* Dependencies. */
+var unherit = require('unherit');
+var Compiler = require('./lib/compiler.js');
+
+/**
+ * Attacher.
+ *
+ * @param {unified} processor - Unified processor.
+ */
+function stringify(processor) {
+ processor.Compiler = unherit(Compiler);
+}
+
+/* Patch `Compiler`. */
+stringify.Compiler = Compiler;
+
+/* Expose. */
+module.exports = stringify;