eslint-plugin-n version
v17.23.2
What problem do you want to solve?
lib/unsupported-features is a treasure trove of info about which Node.js features were added in which Node.js versions. I'd like to use it in other tools that check for Node.js feature <> version compatibility. For example, the experimental flint-fyi/flint#932. And I'd be surprised if other linters such as Biome and Oxlint don't also end up including equivalents to n/no-unsupported-features/*.
But, lib/unsupported-features right now seems to be an internal implementation detail of the eslint-plugin-n package. There are no docs for it and the package doesn't export it in package.json or lib/index.js. There's no good, sanctioned way for us to intake that data that I can find.
What do you think is the correct solution?
Would the eslint-plugin-n team be open to publishing the data under lib/unsupported-features as a standalone package? Like a node-feature-support package or some similar name?
I imagine the two most common solutions to do so would be either:
- Switching this repository to a monorepo
- Creating a separate repository for the new package
Participation
Additional comments
I'd of course be happy to help maintain this if you're up for it and would find my help useful.
If this request is declined (totally understandable) I'll likely end up making my own library for this.
Thanks! ❤️
eslint-plugin-n version
v17.23.2
What problem do you want to solve?
lib/unsupported-featuresis a treasure trove of info about which Node.js features were added in which Node.js versions. I'd like to use it in other tools that check for Node.js feature <> version compatibility. For example, the experimental flint-fyi/flint#932. And I'd be surprised if other linters such as Biome and Oxlint don't also end up including equivalents ton/no-unsupported-features/*.But,
lib/unsupported-featuresright now seems to be an internal implementation detail of theeslint-plugin-npackage. There are no docs for it and the package doesn't export it inpackage.jsonorlib/index.js. There's no good, sanctioned way for us to intake that data that I can find.What do you think is the correct solution?
Would the
eslint-plugin-nteam be open to publishing the data underlib/unsupported-featuresas a standalone package? Like anode-feature-supportpackage or some similar name?I imagine the two most common solutions to do so would be either:
Participation
Additional comments
I'd of course be happy to help maintain this if you're up for it and would find my help useful.
If this request is declined (totally understandable) I'll likely end up making my own library for this.
Thanks! ❤️