forked from mysticatea/eslint-plugin-node
-
-
Notifications
You must be signed in to change notification settings - Fork 54
Closed
Labels
Description
Environment
Node version: 18.20.1
npm version: 10.5.0
ESLint version: 8.57.0
eslint-plugin-n version: 17.3.0
Operating System: Mac OS / Ubuntu 22.04
What rule do you want to report?
n/no-unsupported-features/es-builtins
Link to Minimal Reproducible Example
(unclear how to reproduce this on the ESLint playground)
What did you expect to happen?
I expected the following to not cause any errors:
git clone -b dependabot/npm_and_yarn/eslint-plugin-n-17.3.0 [email protected]:mdn/yari.git --depth=1
cd yari
yarn install
yarn eslint .
But actually I'm seeing these errors, although our package.json
requires Node.js >=18.16.0:
30:31 error The 'fetch' is still an experimental feature and is not supported until Node.js 18.0.0. The configured version range is '>=18.0.0' n/no-unsupported-features/es-builtins
36:34 error The 'fetch' is still an experimental feature and is not supported until Node.js 18.0.0. The configured version range is '>=18.0.0' n/no-unsupported-features/es-builtins
Participation
- I am willing to submit a pull request for this issue.
Additional comments
Noticed via failing test in this Dependabot PR.