12345678910111213141516171819202122232425262728293031323334 |
- 'use strict';
- const hasInterpolation = require('../utils/hasInterpolation');
- const isScssVariable = require('./isScssVariable');
- module.exports = function (property) {
-
- if (isScssVariable(property)) {
- return false;
- }
-
- if (property.startsWith('@')) {
- return false;
- }
-
- if (property.endsWith('+') || property.endsWith('+_')) {
- return false;
- }
-
- if (hasInterpolation(property)) {
- return false;
- }
- return true;
- };
|