packlint icon indicating copy to clipboard operation
packlint copied to clipboard

chore(.nvmrc): add configuration to fix node version

Open manudeli opened this issue 2 years ago • 0 comments

.nvmrc for nvm user using deeper shell integration

Many JavaScript developers may use nvm to change node.js version rapidly.

Not perfectly, but It'll partially prevent contributors can use too old node.js version In my case, nvm default node version is 14. but If this project have .nvmrc in root, my zsh-hook will change my node.js version to 16.17 automatically by using deeper shell integration.

Shopify/quilt, tanstack/query are using .nvmrc too. I think it's partially good way to prevent chance to make mistake. and I want to suggest to packlint too.

Check this PR https://github.com/toss/slash/pull/88 please. This is why I add this configuration.

I don't know what node version packlint scoped, but I guess it as v16.17 because this version is @toss/slash's using node version. If It's wrong, please correct it.

manudeli avatar Feb 08 '23 09:02 manudeli