Skip to content

Commit

Permalink
Merge pull request #54 from mfreeman451/42-chore-linter-fixes
Browse files Browse the repository at this point in the history
42 chore linter fixes
  • Loading branch information
mfreeman451 authored Jan 20, 2025
2 parents 23872b5 + eb92a36 commit 9b6310c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
name: lint
on: [push]
permissions:
# Required: allow read access to the content for analysis.
contents: read
# Optional: allow read access to pull request. Use with `only-new-issues` option.
pull-requests: read
# Optional: allow write access to checks to allow the action to annotate code in the PR.
checks: write
jobs:
lint:
name: lint
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -158,3 +158,4 @@ serviceradar-dusk_*/
serviceradar-poller_*/
serviceradar-cloud_*/
./dist
/pkg/cloud/api/web/dist/assets/
4 changes: 3 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
---
run:
timeout: 5m # Increase from default 1m to 5m

linters-settings:
dupl:
threshold: 100
Expand Down

0 comments on commit 9b6310c

Please sign in to comment.