Skip to content

Commit

Permalink
customize lints
Browse files Browse the repository at this point in the history
  • Loading branch information
garrettladley committed Feb 5, 2024
1 parent 8f85029 commit 8617573
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
17 changes: 17 additions & 0 deletions backend/.golangci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
linters:
enable:
- cyclop
- exportloopref
- gocritic
- gosec
- ineffassign
- misspell
- prealloc
- unconvert
- unparam
- goimports
- whitespace

linters-settings:
whitespace:
multi-func: true
17 changes: 17 additions & 0 deletions cli/.golangci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
linters:
enable:
- cyclop
- exportloopref
- gocritic
- gosec
- ineffassign
- misspell
- prealloc
- unconvert
- unparam
- goimports
- whitespace

linters-settings:
whitespace:
multi-func: true

0 comments on commit 8617573

Please sign in to comment.