UNPKG

stylelint-scss

Version:

A collection of SCSS-specific rules for Stylelint

15 lines (13 loc) 396 B
"use strict"; /** * Check if an options object contains a certain `except` keyword. * It will look for an `except` property whose value should * be an array of keywords. * * @param {object} options * @param {string} exceptionName * @return {boolean} */ module.exports = function (options, exceptionName) { return options && options.except && options.except.includes(exceptionName); };