valyala / fasthttp

Fast HTTP package for Go. Tuned for high performance. Zero memory allocations in hot paths. Up to 10x faster than net/http
MIT License
21.91k stars 1.76k forks source link

chore: add golangci-lint config file for flexibility #1649

Closed alexandear closed 1 year ago

alexandear commented 1 year ago

This PR adds .golangci.yml with configuration for golangci-lint. The config file allows better flexibility in configuration in comparison with command-line parameters. E.g., in future, we might add additional helpful linters, disable some linter rules only for tests, etc.

Also, in the PR updated the version of golangci-lint to the latest currently released.

erikdubbelboer commented 1 year ago

Thanks!