Skip to content

Commit

Permalink
chore: added golangci-lint config
Browse files Browse the repository at this point in the history
  • Loading branch information
freak12techno committed Jan 3, 2022
1 parent c1a9d25 commit 2773eb1
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
linters-settings:
gocritic:
disabled-checks:
- ifElseChain
gosec:
excludes:
- G402
- G404
revive:
rules:
- name: var-declaration
disabled: true

linters:
enable-all: true
disable:
- prealloc
- lll
- dupl
- funlen
- wsl
- gomnd
- unparam
- goerr113
- nestif
- errcheck
- golint
- scopelint
- maligned
- interfacer
- wrapcheck
- varnamelen
- tagliatelle
- exhaustivestruct
- gomoddirectives
- ireturn
- nlreturn
- cyclop
- errorlint
- noctx
- gocognit

1 comment on commit 2773eb1

@Eko101089
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Go

Please sign in to comment.