UNPKG

stylelint

Version:
26 lines (20 loc) 494 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = function (property) { // SCSS var (e.g. $var: x), list (e.g. $list: (x)) or map (e.g. $map: (key:value)) if (property[0] === "$") { return false; } // Less var (e.g. @var: x) if (property[0] === "@") { return false; } // SCSS or Less interpolation if ((0, _utils.hasInterpolation)(property)) { return false; } return true; }; var _utils = require("../utils");