From cac03529860e0fd19585b35a66f5de4f0ea0559d Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Fri, 21 Jan 2022 17:34:25 +0100 Subject: [PATCH] [mod] remove .nvm_packages, add eslint to package.json --- .nvm_packages | 8 -------- package.json | 1 + utils/lib_nvm.sh | 1 - 3 files changed, 1 insertion(+), 9 deletions(-) delete mode 100644 .nvm_packages 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 }