Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change Request: Add support for "devEngines" from package.json #418

Open
1 task
tim-richter opened this issue Mar 7, 2025 · 0 comments
Open
1 task

Change Request: Add support for "devEngines" from package.json #418

tim-richter opened this issue Mar 7, 2025 · 0 comments

Comments

@tim-richter
Copy link

eslint-plugin-n version

17.5.1

What problem do you want to solve?

npm added support for the "devEngines" field recently. It works very similar to the engines field, but eslint-plugin-n has no support for it and does not pick it up from the package.json.

It would be cool, if the plugin could also take the "devEngines" field into account, for the calculation of the node.js version range.

npm documentation: https://docs.npmjs.com/cli/v11/configuring-npm/package-json#devengines

What do you think is the correct solution?

"devEngines" is read from the package.json and taken into account for the node.js version range calculation

Participation

  • I am willing to submit a pull request for this change.

Additional comments

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant