securityos/node_modules/stylelint-order/index.js

10 lines
280 B
JavaScript
Raw Permalink Normal View History

2024-09-06 15:32:35 +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;