index.js 936 B

1234567891011121314151617181920
  1. "use strict";
  2. /**
  3. * @fileoverview Best practice rules for Storybook
  4. * @author Yann Braga
  5. */
  6. var __importDefault = (this && this.__importDefault) || function (mod) {
  7. return (mod && mod.__esModule) ? mod : { "default": mod };
  8. };
  9. Object.defineProperty(exports, "__esModule", { value: true });
  10. exports.configs = exports.rules = void 0;
  11. //------------------------------------------------------------------------------
  12. // Requirements
  13. //------------------------------------------------------------------------------
  14. const requireindex_1 = __importDefault(require("requireindex"));
  15. //------------------------------------------------------------------------------
  16. // Plugin Definition
  17. //------------------------------------------------------------------------------
  18. // import all rules in lib/rules
  19. exports.rules = (0, requireindex_1.default)(__dirname + '/rules');
  20. exports.configs = (0, requireindex_1.default)(__dirname + '/configs');