UNPKG

@spotify/eslint-plugin

Version:
13 lines 607 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); const path_1 = __importDefault(require("path")); const exportRules = (rulesInput) => { return rulesInput.reduce((rulesOutput, rule) => (Object.assign(Object.assign({}, rulesOutput), { [rule]: require(`./${path_1.default.join('./rules/', rule)}`).default })), {}); }; module.exports = { rules: exportRules(['best-practices/no-discouraged-words']), }; //# sourceMappingURL=index.js.map