stylelint
Version:
A mighty CSS linter that helps you avoid errors and enforce conventions.
19 lines (15 loc) • 488 B
JavaScript
// NOTICE: This file is generated by Rollup. To modify it,
// please instead edit the ESM counterpart and rebuild with Rollup (npm run build).
;
const index = require('../formatters/index.cjs');
/**
* @param {string} separator
* @param {string} [quote]
* @returns {string}
*/
function getFormatterOptionsText(separator, quote = '') {
return Object.keys(index)
.map((name) => `${quote}${name}${quote}`)
.join(separator);
}
module.exports = getFormatterOptionsText;