epiphany/node_modules/stylelint-order/index.js

10 lines
280 B
JavaScript
Raw Normal View History

2023-12-09 22:48:07 -08: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;