some deletions
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / stylelint / lib / utils / nextNonCommentNode.js
diff --git a/.config/coc/extensions/node_modules/coc-prettier/node_modules/stylelint/lib/utils/nextNonCommentNode.js b/.config/coc/extensions/node_modules/coc-prettier/node_modules/stylelint/lib/utils/nextNonCommentNode.js
deleted file mode 100644 (file)
index 411ee32..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-/* @flow */
-"use strict";
-
-/**
- * Get the next non-comment node in a PostCSS AST
- * at or after a given node.
- */
-module.exports = function nextNonCommentNode(
-  startNode /*: Object*/
-) /*: ?Object*/ {
-  if (!startNode || !startNode.next) return null;
-
-  if (startNode.type === "comment") {
-    return nextNonCommentNode(startNode.next());
-  }
-
-  return startNode;
-};