I’m trying to upgrade eslint
to v9
for next-json
I followed the official Getting started guideline, but in order to make it work I need to set "type": "module"
in my package.json
file.
Since I’m distributing the package both as CJS and ESM, I’m warried this setting may create issues on the CJS distributed version.
Can I safely distribute the package with this setting as well?