UNPKG

stylelint

Version:

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

9 lines (8 loc) 199 B
/** * Check whether a media query is a custom * @param {string} mediaQuery * @returns {boolean} */ export default function isCustomMediaQuery(mediaQuery) { return mediaQuery.startsWith('--'); }