14 lines
536 B
JavaScript
14 lines
536 B
JavaScript
|
"use strict";
|
||
|
|
||
|
Object.defineProperty(exports, "__esModule", {
|
||
|
value: true
|
||
|
});
|
||
|
exports["default"] = void 0;
|
||
|
var _stylelint = require("stylelint");
|
||
|
var _rules = _interopRequireDefault(require("./rules"));
|
||
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
||
|
var rulesPlugins = Object.keys(_rules["default"]).map(function (ruleName) {
|
||
|
return (0, _stylelint.createPlugin)("a11y/".concat(ruleName), _rules["default"][ruleName]);
|
||
|
});
|
||
|
var _default = rulesPlugins;
|
||
|
exports["default"] = _default;
|