summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.nvm_packages8
-rw-r--r--package.json1
-rwxr-xr-xutils/lib_nvm.sh1
3 files changed, 1 insertions, 9 deletions
diff --git a/.nvm_packages b/.nvm_packages
deleted file mode 100644
index 13eabc5c2..000000000
--- a/.nvm_packages
+++ /dev/null
@@ -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
-
diff --git a/package.json b/package.json
index 187d17a4b..e65e0585d 100644
--- a/package.json
+++ b/package.json
@@ -1,5 +1,6 @@
{
"dependencies": {
+ "eslint": "^8.7.0",
"pyright": "^1.1.212"
}
}
diff --git a/utils/lib_nvm.sh b/utils/lib_nvm.sh
index 267ba8a4a..cd2fbc189 100755
--- a/utils/lib_nvm.sh
+++ b/utils/lib_nvm.sh
@@ -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
}