Skip to content

Commit

Permalink
chore: appease YAML linter
Browse files Browse the repository at this point in the history
  • Loading branch information
rainest committed Nov 9, 2023
1 parent 398ff95 commit 64ac07a
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
1 change: 1 addition & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
version: 2
updates:
- package-ecosystem: gomod
Expand Down
9 changes: 5 additions & 4 deletions .github/stale.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
# Configuration for probot-stale - https://github.com/probot/stale

# Number of days of inactivity before an Issue or Pull Request becomes stale
Expand All @@ -7,13 +8,13 @@ daysUntilStale: 14
daysUntilClose: 7

onlyLabels:
- "pending author feedback"
- pending author feedback

# Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable
exemptLabels:
- pinned
- security
- feature
- pinned
- security
- feature

# Label to use when marking as stale
staleLabel: stale
Expand Down
12 changes: 6 additions & 6 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,19 @@ issues:
exclude-rules:
- linters:
- gosec
text: "weak cryptographic primitive"
path: "state/indexers/md5Indexer.*"
text: weak cryptographic primitive
path: state/indexers/md5Indexer.*
- linters:
- gosec
text: "weak random number generator"
text: weak random number generator
path: _test\.go
- linters:
- errcheck
text: "Error return value" # ignore err not checked in test files
text: Error return value # ignore err not checked in test files
path: _test\.go
- linters:
- gosec
text: "Expect WriteFile permissions to be 0600 or less"
text: Expect WriteFile permissions to be 0600 or less
path: file/codegen/main.go
# ignore unused warnings in test utils files
- linters:
Expand All @@ -53,7 +53,7 @@ issues:
# ignore SA1019 deprecation warning
- linters:
- staticcheck
text: "SA1019.*"
text: SA1019.*

linters-settings:
goconst:
Expand Down

0 comments on commit 64ac07a

Please sign in to comment.