index.js 668 B

12345678910111213141516171819
  1. // Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. /**
  3. * @fileoverview Collection of Zammad rules for Eslint.
  4. * @author Martin Gruner
  5. */
  6. //------------------------------------------------------------------------------
  7. // Requirements
  8. //------------------------------------------------------------------------------
  9. const requireIndex = require('requireindex')
  10. //------------------------------------------------------------------------------
  11. // Plugin Definition
  12. //------------------------------------------------------------------------------
  13. // import all rules in lib/rules
  14. module.exports.rules = requireIndex(`${__dirname}/rules`)