Skip to content

Commit

Permalink
lint: fix issues with lint
Browse files Browse the repository at this point in the history
In this commit we disable tagalign and turn off lll lint
on config struct
  • Loading branch information
Abdulkbk committed Feb 17, 2025
1 parent 3e2c270 commit 676c400
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@ linters:
# will also catch magic numbers that make sense to extract.
- gomnd

# Disable tagalign
- tagalign

issues:
# Only check issues in the new code.
new-from-rev: 3f48b446215c751ea4ba0c30fb04413ab9f1a7c7
Expand Down
1 change: 1 addition & 0 deletions config.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ var (
defaultLogDir = filepath.Join(defaultAppDataDir, defaultLogDirname)
)

//nolint:lll
type config struct {
// General application behavior
ConfigFile *cfgutil.ExplicitString `short:"C" long:"configfile" description:"Path to configuration file"`
Expand Down

0 comments on commit 676c400

Please # to comment.