Skip to content

Instantly share code, notes, and snippets.

View Sakaizd's full-sized avatar
🎃

Sakaizd

🎃
  • Hong Kong
View GitHub Profile
@maratori
maratori / .golangci.yml
Last active September 26, 2024 06:33
Golden config for golangci-lint
# This code is licensed under the terms of the MIT license https://opensource.org/license/mit
# Copyright (c) 2021 Marat Reymers
## Golden config for golangci-lint v1.61.0
#
# This is the best config for golangci-lint based on my experience and opinion.
# It is very strict, but not extremely strict.
# Feel free to adapt and change it for your needs.
run:
git config --global https.proxy http://127.0.0.1:1080
git config --global https.proxy https://127.0.0.1:1080
git config --global --unset http.proxy
git config --global --unset https.proxy
npm config delete proxy