oasisprotocol / oasisprotocol/cli

Set up additional golangci-lint linters

Open
#3 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

code quality
Dominant language
Go
Stars
80
Forks
23
Avg merge
9h 43m
Merged PRs (30d)
3

Description

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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running the existing golangci-lint command shown in the issue and reviewing the enabled-by-default linters. Add the requested .golangci.yml configuration, select additional supported linters, and verify that the same command passes with the repository's new configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli, tooling
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.