Skip to content

Commit

Permalink
Add exceptions to linter
Browse files Browse the repository at this point in the history
  • Loading branch information
LoyalPotato committed Nov 18, 2023
1 parent e35b935 commit 13b7edc
Showing 1 changed file with 21 additions and 3 deletions.
24 changes: 21 additions & 3 deletions .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,27 @@ issues:
- text: (cobra.Command|subshell.Options|gitea.*Options|github.*Options|gitlab.*Options|godog.Options) is missing fields?
linters:
- exhaustruct
# - linters:
# - exhaustruct
# text: (survey.MultiSelect|survey.Select) is missing fields
- linters:
- exhaustruct
text: promptui.(Prompt|PromptTemplates) is missing fields
- linters:
- exhaustruct
text: doc.(GenManHeader) is missing fields
- linters:
- exhaustruct
text: dialog.(TextPromptArgs) is missing fields
- linters:
- predeclared
text: package name print has same name as predeclared identifier
- path: src/internal/git-town/token.go # it's named as token, but is just the key
text: "G101: Potential hardcoded credentials"
linters:
- gosec
- path: src/internal/styles/
linters:
- gochecknoglobals
- path: src/internal/messages/ # easier to read message name
text: (don't|should not) use underscores
linters:
- revive
- stylecheck

0 comments on commit 13b7edc

Please sign in to comment.