.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / stylelint / lib / utils / rawNodeString.js
1 /* @flow */
2 "use strict";
3
4 /**
5  * Stringify PostCSS node including its raw "before" string.
6  */
7 module.exports = function(node /*: Object*/) /*: string*/ {
8   let result = "";
9   if (node.raws.before) {
10     result += node.raws.before;
11   }
12   result += node.toString();
13   return result;
14 };