Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set up additional golangci-lint linters #3

Open
tjanez opened this issue Jan 4, 2023 · 0 comments
Open

Set up additional golangci-lint linters #3

tjanez opened this issue Jan 4, 2023 · 0 comments
Labels
code quality Improve quality of code

Comments

@tjanez
Copy link
Member

tjanez commented Jan 4, 2023

Currently, only golangci-lint's default linters are enabled:

Running [/home/runner/golangci-lint-1.50.1-linux-amd64/golangci-lint run --out-format=github-actions --verbose] in [] ...
  level=info msg="[config_reader] Config search paths: [./ /home/runner/work/cli/cli /home/runner/work/cli /home/runner/work /home/runner /home /]"
  level=info msg="[lintersdb] Active 7 linters: [errcheck gosimple govet ineffassign staticcheck typecheck unused]"
  
... trimmed ...

Add .golangci.yml to the repo and consider enabling additional linters from the vast number of golangci-lint's supported linters.

@tjanez tjanez added the code quality Improve quality of code label Jan 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code quality Improve quality of code
Projects
None yet
Development

No branches or pull requests

1 participant