From c749ab6da0db7c311ab3e49572cea5cd46b173aa Mon Sep 17 00:00:00 2001 From: Mou Sam Dahal Date: Mon, 10 Mar 2025 11:30:32 +0545 Subject: [PATCH] fix(docs,deps): correct typos and enable golangci-lint installation - Fixed typo "dependecies" to "dependencies" in precommit-hooks.md - Removed redundant "for the community" text in contributors.md - Uncommented golangci-lint plugin and version in install_dependencies.sh to enable its installation Changes to be committed: modified: docs/content/contributing/contributors.md modified: docs/content/known-issues/precommit-hooks.md modified: golang/install_dependencies.sh --- docs/content/contributing/contributors.md | 2 +- docs/content/known-issues/precommit-hooks.md | 2 +- golang/install_dependencies.sh | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/content/contributing/contributors.md b/docs/content/contributing/contributors.md index f08ea17..42d3aa9 100644 --- a/docs/content/contributing/contributors.md +++ b/docs/content/contributing/contributors.md @@ -22,4 +22,4 @@ To understand the responsibilities, requirements, and guidelines for becoming a --- -We are always looking for more passionate individuals to contribute and take part in the journey of improving Pre-commit Automation Tool. Thank you to all our Contributors for their hard work and dedication! for the community. 🌟 +We are always looking for more passionate individuals to contribute and take part in the journey of improving Pre-commit Automation Tool. Thank you to all our Contributors for their hard work and dedication! 🌟 diff --git a/docs/content/known-issues/precommit-hooks.md b/docs/content/known-issues/precommit-hooks.md index 1c022ef..e557d2f 100644 --- a/docs/content/known-issues/precommit-hooks.md +++ b/docs/content/known-issues/precommit-hooks.md @@ -19,7 +19,7 @@ Please check the [open](https://github.com/01cloud/01cloud-githooks/issues) and ## -### Python dependecies not installed +### Python dependencies not installed If you are getting an error like python dependencies not installed, please run the following command in your terminal **Workaround:** diff --git a/golang/install_dependencies.sh b/golang/install_dependencies.sh index 669f8a4..aaf8639 100755 --- a/golang/install_dependencies.sh +++ b/golang/install_dependencies.sh @@ -70,7 +70,7 @@ install_tool_with_asdf() { case "$tool" in nodejs) plugin_repo="https://github.com/asdf-vm/asdf-nodejs" ;; golang) plugin_repo="https://github.com/asdf-community/asdf-golang" ;; - # golangci-lint) plugin_repo="https://github.com/hypnoglow/asdf-golangci-lint.git" ;; + golangci-lint) plugin_repo="https://github.com/hypnoglow/asdf-golangci-lint.git" ;; yamlfmt) plugin_repo="https://github.com/kachick/asdf-yamlfmt" ;; gitleaks) plugin_repo="https://github.com/jmcvetta/asdf-gitleaks" ;; pre-commit) plugin_repo="git@github.com:jonathanmorley/asdf-pre-commit.git" ;; @@ -119,7 +119,7 @@ declare -a mandatory_tools=( "gitleaks:8.21.0" "yamlfmt:latest" "pre-commit:3.3.3" - # "golangci-lint:1.63.4" + "golangci-lint:1.63.4" ) # List of optional tools