UNPKG

stylelint-scss

Version:

A collection of SCSS specific rules for stylelint

11 lines (10 loc) 223 B
/** * Check if a string is a single line (i.e. does not contain * any newline characters). * * @param {string} input * @return {boolean} */ export default function (input) { return !/[\n\r]/.test(input) }