diff options
author | Martin Fischer <martin@push-f.com> | 2022-01-21 17:34:25 +0100 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2022-01-23 08:00:39 +0100 |
commit | cac03529860e0fd19585b35a66f5de4f0ea0559d (patch) | |
tree | 2669f317a77b371326711212ee824eaae862ce4f | |
parent | 6d701d2fea07198807351c7c4856001c0f1ebffb (diff) | |
download | searxng-cac03529860e0fd19585b35a66f5de4f0ea0559d.tar.gz searxng-cac03529860e0fd19585b35a66f5de4f0ea0559d.zip |
[mod] remove .nvm_packages, add eslint to package.json
-rw-r--r-- | .nvm_packages | 8 | ||||
-rw-r--r-- | package.json | 1 | ||||
-rwxr-xr-x | utils/lib_nvm.sh | 1 |
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 } |