[mod] remove .nvm_packages, add eslint to package.json

This commit is contained in:
Martin Fischer 2022-01-21 17:34:25 +01:00
parent 6d701d2fea
commit cac0352986
3 changed files with 1 additions and 9 deletions

View file

@ -1,8 +0,0 @@
# -*- coding: utf-8; mode: conf-unix -*-
#
# Developement tools pre-installed in NVM's node installation [1]
#
# [1] https://github.com/nvm-sh/nvm#default-global-packages-from-file-while-installing
eslint

View file

@ -1,5 +1,6 @@
{
"dependencies": {
"eslint": "^8.7.0",
"pyright": "^1.1.212"
}
}

View file

@ -117,7 +117,6 @@ nvm.install() {
info_msg "checkout ${NVM_VERSION_TAG}"
git checkout "${NVM_VERSION_TAG}" 2>&1 | prefix_stdout " ${_Yellow}||${_creset} "
popd &> /dev/null
cp "${REPO_ROOT}/.nvm_packages" "${NVM_DIR}/default-packages"
nvm.env
}