eslint / espree

An Esprima-compatible JavaScript parser
BSD 2-Clause "Simplified" License
2.26k stars 189 forks source link

It's make me confuse: engines ->"node": "^12.22.0 #508

Closed rhinonan closed 3 years ago

rhinonan commented 3 years ago

Why not node: ^12.0.0

This will caused many project install dependencies to fail

coastman commented 3 years ago

Why not node: ^12.19.1

bmish commented 3 years ago

Might be so that the package can be converted to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c#how-can-i-move-my-commonjs-project-to-esm

nzakas commented 3 years ago

Yes, this is because we want to use ESM going forward. See the discussion at https://github.com/eslint/eslint/issues/14023#issuecomment-839380175