Anton Telyshev

Results 35 issues of Anton Telyshev

Hello! ```yaml # .golangci.yml linters-settings: errcheck: exclude-functions: - recover ``` ```go $ cat example.go package main func main() { defer func() { recover() }() } ``` ``` $ golangci-lint run...

Hello! Why do you take a custom template from the arguments, but render the template from the settings anyway? ```python class CaptchaTextInput(BaseCaptchaTextInput): def __init__(self, attrs=None, **kwargs): self._args = kwargs self._args['field_template']...

Hello. Thanks for the interesting library! We were faced with the need for a mechanism for stopping observers without stopping the property: ```golang package main import ( "fmt" "math/rand" "time"...

Hello! ``` panic: load embedded ruleguard rules: rules/rules.go:13: can't load fmt goroutine 1 [running]: github.com/go-critic/go-critic/checkers.init.9() github.com/go-critic/[email protected]/checkers/checkers.go:58 +0x4b4 ``` For any `golangci-lint` command :( I can't provide source code, but can...

Hello! ```golang # main.go package main import ( "context" "os" ) func main() { _, cancel := context.WithCancel(context.Background()) defer cancel() cancel() os.Exit(1) } ``` ``` $ gocritic check main.go ./main.go:13:2:...

### Welcome - [X] Yes, I'm using a binary release within 2 latest major releases. Only such installations are supported. - [X] Yes, I've searched similar issues on GitHub and...

bug

- [X] Yes, I'm using a binary release within 2 latest major releases. Only such installations are supported. - [X] Yes, I've searched similar issues on GitHub and didn't find...

bug
dependencies
area: nolint

Related to https://github.com/deepmap/oapi-codegen/pull/471 Hello! `mapping` field is useful for explicit mapping: > In scenarios where the value of the discriminator field does not match the schema name or implicit mapping...

https://github.com/danielgtaylor/apisprout

Hello! go env ``` $ go env GO111MODULE="on" GOARCH="arm64" GOBIN="/Users/anthony/golang_workspace/bin" GOCACHE="/Users/anthony/Library/Caches/go-build" GOENV="/Users/anthony/Library/Application Support/go/env" GOEXE="" GOEXPERIMENT="" GOFLAGS="" GOHOSTARCH="arm64" GOHOSTOS="darwin" GOINSECURE="" GOMODCACHE="/Users/anthony/golang_workspace/pkg/mod" GONOPROXY="" GONOSUMDB="" GOOS="darwin" GOPATH="/Users/anthony/golang_workspace" GOPRIVATE="" GOPROXY="https://proxy.golang.org,direct" GOROOT="/usr/local/go" GOSUMDB="sum.golang.org" GOTMPDIR="" GOTOOLDIR="/usr/local/go/pkg/tool/darwin_arm64"...