Remove duplicate key in .golangci.yml (#4247)

The .golangci.yml file contains the root level key `linters-settings`
twice, resulting in following error when we run `make lint`:

```
> make lint
Running lint check
ERRO Can't read config: can't read viper config: While parsing config: yaml: unmarshal errors:
  line 26: mapping key "linters-settings" already defined at line 1
make: *** [Makefile:36: lint] Error 3
```

Fixed by merging into a single key.
This commit is contained in:
Shireesh Anjal
2022-09-13 09:45:58 -07:00
committed by GitHub
parent 048aab801a
commit 97715cd215
+6 -7
View File
@@ -1,10 +1,3 @@
linters-settings:
golint:
min-confidence: 0
misspell:
locale: US
linters:
disable-all: true
enable:
@@ -24,6 +17,12 @@ linters:
- gofumpt
linters-settings:
golint:
min-confidence: 0
misspell:
locale: US
gofumpt:
lang-version: "1.17"