12345678910111213141516171819 |
- // Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
- /**
- * @fileoverview Collection of Zammad rules for Eslint.
- * @author Martin Gruner
- */
- //------------------------------------------------------------------------------
- // Requirements
- //------------------------------------------------------------------------------
- // eslint-disable-next-line @typescript-eslint/no-require-imports
- const requireIndex = require('requireindex')
- //------------------------------------------------------------------------------
- // Plugin Definition
- //------------------------------------------------------------------------------
- // import all rules in lib/rules
- module.exports.rules = requireIndex(`${__dirname}/rules`)
|