matzkoh / prettier-plugin-packagejson

Prettier plugin for package.json
MIT License
316 stars 10 forks source link

Doesn't work in project with "type": "module" #137

Closed guoyunhe closed 8 months ago

guoyunhe commented 9 months ago

When project's package.json has "type": "module" and this plugin is enabled, Prettier will crash. Removing this plugin solved the issue. Any plan to make this plugin work in ESM project?

github-actions[bot] commented 8 months ago

:tada: This issue has been resolved in version 2.4.11 :tada:

The release is available on:

Your semantic-release bot :package::rocket: