summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2022-01-21 17:34:25 +0100
committerMartin Fischer <martin@push-f.com>2022-01-23 08:00:39 +0100
commitcac03529860e0fd19585b35a66f5de4f0ea0559d (patch)
tree2669f317a77b371326711212ee824eaae862ce4f
parent6d701d2fea07198807351c7c4856001c0f1ebffb (diff)
downloadsearxng-cac03529860e0fd19585b35a66f5de4f0ea0559d.tar.gz
searxng-cac03529860e0fd19585b35a66f5de4f0ea0559d.zip
[mod] remove .nvm_packages, add eslint to package.json
-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
}