lix-website/themes/lix/assets/bootstrap/node_modules/stylelint/lib/createPlugin.js

16 lines
285 B
JavaScript
Raw Normal View History

2024-04-27 03:39:10 +00:00
'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,
};
};