lix-website/themes/lix/assets/bootstrap/node_modules/stylelint/lib/createPlugin.js
2024-04-26 22:49:34 -06:00

16 lines
285 B
JavaScript

'use strict';
/** @typedef {import('stylelint').StylelintRule} StylelintRule */
/**
* @param {string} ruleName
* @param {StylelintRule} rule
* @returns {{ruleName: string, rule: StylelintRule}}
*/
module.exports = function (ruleName, rule) {
return {
ruleName,
rule,
};
};