import { dirname } from 'node:path'; import { fileURLToPath } from 'node:url'; import defaultConfig, { buildEslintCommand } from '../../.lintstagedrc.mjs'; const __dirname = dirname(fileURLToPath(import.meta.url)); export default { '*.{ts,tsx,js,jsx,cjs,mjs,mts,cts}': buildEslintCommand(__dirname), ...defaultConfig, };