Skip to content

Commit

Permalink
Move exclude-files to issues section
Browse files Browse the repository at this point in the history
Tidy up the golangci config file according to the PR discussion in etcd
repo

Reference:
- etcd-io/etcd#17694 (comment)
  • Loading branch information
henrybear327 committed Apr 2, 2024
1 parent 29f8611 commit 9148dcb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/.golangci.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
---
run:
timeout: 30m
issues.exclude-files: [^zz_generated.*]
issues:
max-same-issues: 0
# Excluding configuration per-path, per-linter, per-text and per-source
exclude-rules:
# exclude ineffassing linter for generated files for conversion
- path: conversion\.go
linters: [ineffassign]
exclude-files:
- ^zz_generated.*
linters:
disable-all: true
enable: # please keep this alphabetized
Expand Down

0 comments on commit 9148dcb

Please sign in to comment.