UNPKG

stylelint

Version:

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

10 lines (9 loc) 156 B
/** * @type {import('stylelint').PublicApi['createPlugin']} */ export default function createPlugin(ruleName, rule) { return { ruleName, rule, }; }