module.exports = {
  // Frontend TypeScript/JavaScript files
  'apps/frontend/**/*.{js,ts,tsx}': [
    'eslint --fix',
    'prettier --write'
  ],

  // Backend Python files
  'apps/backend/**/*.py': [
    'black',
    'isort'
  ],

  // JSON files
  '**/*.json': [
    'prettier --write'
  ],

  // Markdown files
  '**/*.md': [
    'prettier --write'
  ],

  // YAML files
  '**/*.{yml,yaml}': [
    'prettier --write'
  ],

  // SQL files
  '**/*.sql': [
    'prettier --write --parser sql'
  ],

  // CSS/SCSS files
  '**/*.{css,scss}': [
    'prettier --write'
  ]
};
