UNPKG

stylelint

Version:

A mighty, modern CSS linter.

10 lines (8 loc) 188 B
/* @flow */ "use strict"; /** * Check whether a selector is a custom one */ module.exports = function(selector /*: string*/) /*: boolean*/ { return selector.slice(0, 3) === ":--"; };