- Notifications
You must be signed in to change notification settings - Fork937
Closed
Description
Describe the bug
A clear and concise description of what the bug is.
Affected version
Please run docker run -i --rm ghcr.io/github/github-mcp-server ./github-mcp-server --version
and paste the output below
Steps to reproduce the behavior
- Run
golangci-lint run
with golangci version >= 2.
Expected vs actual behavior
Runninggolangci-lint run
returns an error.
Error:can'tload config:can'tunmarshalconfigbyviper (flags,file):1error(s) decoding:* 'output.formats'expectedamap,got 'string'Failedexecutingcommandwitherror:can'tloadconfig:can'tunmarshalconfigbyviper (flags,file):1error(s)decoding:* 'output.formats'expectedamap,got 'string'
Logs
I'm trying to setup the project in my local machine by going through theCONTRIBUTING guide. And runninggolangci-lint run
returns this error.
I noticed that the.golangci.yml
was migrated to the latest config. Ismigrating the config is the right thing to do?