Skip to content

Commit cb15a18

Browse files
committed
Fix linting config errors
1 parent 4e8f479 commit cb15a18

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.golangci.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
run:
2-
deadline: 30s
2+
timeout: 30s
33

44
linters:
55
enable-all: true
@@ -18,6 +18,4 @@ linters-settings:
1818
sections:
1919
- standard
2020
- default
21-
- prefix(github.com/macabu/inamedparam)
22-
section-separators:
23-
- newLine
21+
- localmodule

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ $ go vet -vettool=$(which inamedparam) ./...
2929
To enable it, you can add it to your `.golangci.yml` file, as such:
3030
```yaml
3131
run:
32-
deadline: 30s
32+
timeout: 30s
3333

3434
linters:
3535
disable-all: true

0 commit comments

Comments
 (0)