UNPKG

stylelint-scss

Version:

A collection of SCSS-specific rules for Stylelint

13 lines (11 loc) 232 B
"use strict"; /** * Check if a string is a single line (i.e. does not contain * any newline characters). * * @param {string} input * @return {boolean} */ module.exports = function (input) { return !/[\n\r]/.test(input); };