packages/eslint/src/utils/flat-config.ts only supports eslint.config.js
Expected Behavior
packages/eslint/src/utils/flat-config.ts should support eslint.config.js and eslint.config.cjs because when "type": "module" is used in package.json flat config with eslint breaks
I am using bun instead of node and bunx --bun nx run <project>:lint is how I want to execute my linting
Current Behavior
packages/eslint/src/utils/flat-config.ts
only supportseslint.config.js
Expected Behavior
packages/eslint/src/utils/flat-config.ts
should supporteslint.config.js
andeslint.config.cjs
because when"type": "module"
is used inpackage.json
flat config with eslint breaksI am using
bun
instead ofnode
andbunx --bun nx run <project>:lint
is how I want to execute my lintingGitHub Repo
No response
Steps to Reproduce
Doesn't require.
Nx Report
Failure Logs
No response
Package Manager Version
bun 1.1.15
Operating System
Additional Information
No response