🐛 Bug: eslint.config.js used with ESM even if package type is "commonjs"
#2111
Labels
status: accepting prs
Please, send a pull request to resolve this!
type: bug
Something isn't working :(
Milestone
Bug Report Checklist
main
branch of the repository.Expected
If a repo defines
"type": "commonjs"
in itspackage.json
, then the ESLint config should either beeslint.config.mjs
or use CJS.Actual
It's still printed as
eslint.config.js
with ESM.Additional Info
Example: https://github.com/JoshuaKGoldberg/package-json-validator/pull/178/files#r2025645674
The text was updated successfully, but these errors were encountered: