UNPKG

stylelint

Version:

A mighty CSS linter that helps you avoid errors and enforce conventions.

10 lines (9 loc) 196 B
/** * Check whether a selector is a custom one * * @param {string} selector * @returns {boolean} */ export default function isCustomSelector(selector) { return selector.startsWith(':--'); }