first commit
This commit is contained in:
16
node_modules/stylelint/lib/utils/isSingleLineString.cjs
generated
vendored
Normal file
16
node_modules/stylelint/lib/utils/isSingleLineString.cjs
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
// NOTICE: This file is generated by Rollup. To modify it,
|
||||
// please instead edit the ESM counterpart and rebuild with Rollup (npm run build).
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* Check if a string is a single line (i.e. does not contain
|
||||
* any newline characters).
|
||||
*
|
||||
* @param {string} input
|
||||
* @returns {boolean}
|
||||
*/
|
||||
function isSingleLineString(input) {
|
||||
return !/[\n\r]/.test(input);
|
||||
}
|
||||
|
||||
module.exports = isSingleLineString;
|
||||
Reference in New Issue
Block a user