mirror of
https://github.com/thangisme/notes.git
synced 2024-11-09 21:07:23 -05:00
21 lines
542 B
JavaScript
21 lines
542 B
JavaScript
|
"use strict";
|
||
|
|
||
|
Object.defineProperty(exports, "__esModule", {
|
||
|
value: true
|
||
|
});
|
||
|
|
||
|
var _stylelint = require("stylelint");
|
||
|
|
||
|
var _utils = require("./utils");
|
||
|
|
||
|
var _rules = require("./rules");
|
||
|
|
||
|
var _rules2 = _interopRequireDefault(_rules);
|
||
|
|
||
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
||
|
|
||
|
var rulesPlugins = Object.keys(_rules2.default).map(function (ruleName) {
|
||
|
return (0, _stylelint.createPlugin)((0, _utils.namespace)(ruleName), _rules2.default[ruleName]);
|
||
|
});
|
||
|
|
||
|
exports.default = rulesPlugins;
|