add golangci-lint for scripts
parent
c57d88372d
commit
6af669b2b9
|
@ -20,3 +20,6 @@ git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
|
||||||
# https://github.com/junegunn/vim-plug
|
# https://github.com/junegunn/vim-plug
|
||||||
sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \
|
sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \
|
||||||
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
|
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
|
||||||
|
|
||||||
|
# https://golangci-lint.run/usage/install/#local-installation
|
||||||
|
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.37.0
|
||||||
|
|
|
@ -23,3 +23,6 @@ git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
|
||||||
# https://github.com/junegunn/vim-plug
|
# https://github.com/junegunn/vim-plug
|
||||||
sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \
|
sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \
|
||||||
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
|
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
|
||||||
|
|
||||||
|
# https://golangci-lint.run/usage/install/#local-installation
|
||||||
|
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.37.0
|
||||||
|
|
Loading…
Reference in New Issue