createPlugin.cjs 331 B

123456789101112131415
  1. // NOTICE: This file is generated by Rollup. To modify it,
  2. // please instead edit the ESM counterpart and rebuild with Rollup (npm run build).
  3. 'use strict';
  4. /**
  5. * @type {import('stylelint').PublicApi['createPlugin']}
  6. */
  7. function createPlugin(ruleName, rule) {
  8. return {
  9. ruleName,
  10. rule,
  11. };
  12. }
  13. module.exports = createPlugin;