xeira
Version:
One Web Dev stack tool to rule them all
13 lines (8 loc) • 317 B
JavaScript
import path from 'path'
import { fileURLToPath } from 'url'
const __filename = fileURLToPath(import.meta.url)
const __dirname = path.dirname(__filename)
export async function getEslintConfig () {
const config = await import(path.join(__dirname, '../../configs', 'eslint.config.mjs'))
return config.default
}