Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/fourtyone11/origin-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'assets/node_modules/stylelint/lib/utils/isLogicalCombination.js')
-rw-r--r--assets/node_modules/stylelint/lib/utils/isLogicalCombination.js22
1 files changed, 0 insertions, 22 deletions
diff --git a/assets/node_modules/stylelint/lib/utils/isLogicalCombination.js b/assets/node_modules/stylelint/lib/utils/isLogicalCombination.js
deleted file mode 100644
index cd92885..0000000
--- a/assets/node_modules/stylelint/lib/utils/isLogicalCombination.js
+++ /dev/null
@@ -1,22 +0,0 @@
-'use strict';
-
-/**
- * Check whether a node is logical combination (`:not`, `:has`, `:matches`)
- *
- * @param {import('postcss-selector-parser').Pseudo} node postcss-selector-parser node (of type pseudo)
- * @return {boolean} If `true`, the combination is logical
- */
-module.exports = function isLogicalCombination(node) {
- if (node.type === 'pseudo') {
- switch (node.value) {
- case ':not':
- case ':has':
- case ':matches':
- return true;
- default:
- return false;
- }
- }
-
- return false;
-};