lix-website/themes/lix/assets/bootstrap/node_modules/stylelint-order/index.js

10 lines
280 B
JavaScript
Raw Normal View History

2024-04-27 03:39:10 +00:00
const { createPlugin } = require('stylelint');
const { namespace } = require('./utils');
const rules = require('./rules');
const rulesPlugins = Object.keys(rules).map((ruleName) => {
return createPlugin(namespace(ruleName), rules[ruleName]);
});
module.exports = rulesPlugins;