Browse Source

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

Martin Fischer 3 years ago
parent
commit
cac0352986
3 changed files with 1 additions and 9 deletions
  1. 0 8
      .nvm_packages
  2. 1 0
      package.json
  3. 0 1
      utils/lib_nvm.sh

+ 0 - 8
.nvm_packages

@@ -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
-

+ 1 - 0
package.json

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

+ 0 - 1
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
 }