Update .golangci.yml #81
Annotations
4 errors and 6 warnings
lint:
client.go#L243
SA4031: this nil check is always true (staticcheck)
|
lint:
client.go#L239
SA4031(related information): this is the value of tlsConfig (staticcheck)
|
lint:
client.go#L232
assigned to tlsConfig, but reassigned without using the value (wastedassign)
|
lint
issues found
|
lint
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-go@v3, actions/checkout@v3, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
lint:
client.go#L56
var-naming: struct field skipTlsValidation should be skipTLSValidation (revive)
|
lint:
client.go#L167
var-naming: var skipTls should be skipTLS (revive)
|
lint:
subscribe.go#L29
unused-parameter: parameter 'client' seems to be unused, consider removing or renaming it as _ (revive)
|
build_n_test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
build_n_test
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, actions/setup-go@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|