File tree Expand file tree Collapse file tree 4 files changed +30
-0
lines changed Expand file tree Collapse file tree 4 files changed +30
-0
lines changed File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
1
+ ---
2
+ linters :
3
+ # These linters are enabled by default
4
+ # They can be disable by moving them to the 'disable' key
5
+ enable :
6
+ # Errcheck is a program for checking for unchecked errors in Go code.
7
+ - errcheck : null
8
+ # Linter for Go source code that specializes in simplifying code.
9
+ - gosimple
10
+ # Vet examines Go source code and reports suspicious constructs.
11
+ - govet
12
+ # Detects when assignments to existing variables are not used.
13
+ - ineffassign
14
+ # It's a set of rules from staticcheck. See https://staticcheck.io/
15
+ - staticcheck
16
+ disable :
17
+ # empty by default
18
+ # but you can any linter here, even the default ones
Original file line number Diff line number Diff line change
1
+ # Default settings
2
+
3
+ These are the currently available linter that are enabled in the current last ` golangci-lint ` version available today (1.59.1)
4
+
5
+ See [ .golangci.yaml] ( .golangci.yaml )
6
+
7
+ ## Changelog
8
+
9
+ - 2024-06-26 - golangci-lint:1.59.1
10
+
11
+ initial version
12
+
You can’t perform that action at this time.
0 commit comments