const noIndexFiles = require('./no-index-files');
const noFrameworkImports = require('./no-framework-imports');
const domainNoApplication = require('./domain-no-application');

module.exports = {
  rules: {
    'no-index-files': noIndexFiles,
    'no-framework-imports': noFrameworkImports,
    'domain-no-application': domainNoApplication,
  },
  configs: {
    recommended: {
      plugins: ['gridpilot-core-rules'],
      rules: {
        'gridpilot-core-rules/no-index-files': 'error',
        'gridpilot-core-rules/no-framework-imports': 'error',
        'gridpilot-core-rules/domain-no-application': 'error',
      },
    },
  },
};
