Skip to content

Commit

Permalink
Merge pull request #77 from yassinebenaid/add-more-linters
Browse files Browse the repository at this point in the history
add more linters
  • Loading branch information
yassinebenaid authored Dec 31, 2024
2 parents 623508e + e0edb2c commit 5e280ad
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,9 @@ linters:
- govet # Vet examines Go source code and reports suspicious constructs.
- staticcheck # It's a set of rules from staticcheck.dev
- unused # Checks Go code for unused constants, variables, functions and types.
- asasalint # Check for pass []any as any in variadic func(...any).
- asciicheck # Checks that all code identifiers does not have non-ASCII symbols in the name.
- bidichk # Checks for dangerous unicode character sequences.
- decorder # heck declaration order and count of types, constants, variables and functions.
- errname # Checks that sentinel errors are prefixed with the Err and error types are suffixed with the Error.
disable:

0 comments on commit 5e280ad

Please sign in to comment.