some deletions
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / stylelint / lib / utils / hasInterpolation.js
diff --git a/.config/coc/extensions/node_modules/coc-prettier/node_modules/stylelint/lib/utils/hasInterpolation.js b/.config/coc/extensions/node_modules/coc-prettier/node_modules/stylelint/lib/utils/hasInterpolation.js
deleted file mode 100644 (file)
index 7df070e..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-/* @flow */
-"use strict";
-
-const hasLessInterpolation = require("../utils/hasLessInterpolation");
-const hasPsvInterpolation = require("../utils/hasPsvInterpolation");
-const hasScssInterpolation = require("../utils/hasScssInterpolation");
-/**
- * Check whether a string has interpolation
- *
- * @param {string} string
- * @return {boolean} If `true`, a string has interpolation
- */
-module.exports = function(string /*: string*/) /*: boolean*/ {
-  // SCSS or Less interpolation
-  if (
-    hasLessInterpolation(string) ||
-    hasScssInterpolation(string) ||
-    hasPsvInterpolation(string)
-  ) {
-    return true;
-  }
-
-  return false;
-};