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

[file-extension-in-import] Does not work with node version 16.0.0 - 16.16.0 #137

Closed
1 task
venkat-kaluva opened this issue Nov 8, 2023 · 4 comments · Fixed by #138
Closed
1 task

[file-extension-in-import] Does not work with node version 16.0.0 - 16.16.0 #137

venkat-kaluva opened this issue Nov 8, 2023 · 4 comments · Fixed by #138

Comments

@venkat-kaluva
Copy link

venkat-kaluva commented Nov 8, 2023

Environment

Node version: 16.16.0
eslint-plugin-n version: 16.3.0

With the following config:

"n/file-extension-in-import": ["error", "always"]

I see the error,

isBuiltin is not a function

isBuiltin was added to node in version v16.17.0

What rule do you want to report?

n/file-extension-in-import

Proposal:
Docs can be updated to reflect the requirement for node version

Participation

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

Additional comments

No response

@scagood
Copy link

scagood commented Nov 9, 2023

Sorry about this, I will get on it this afternoon!

@aladdin-add
Copy link

yes, it should be fixed - node.js v16 is still supported.

@cheezone
Copy link

@scagood This problem has appeared again. Does this library not support node 16.0.*?

@scagood
Copy link

scagood commented Apr 16, 2024

As of version 17, we have dropped support for node 16, yes.

The current minimum version is 18.18.0

41ceed7

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

Successfully merging a pull request may close this issue.

4 participants