Skip to content

Commit

Permalink
Merge pull request etcd-io#17694 from henrybear327/fix/golangci-confi…
Browse files Browse the repository at this point in the history
…g-run-skip-files

Replace run.skip-files with issues.exclude-files in golangci config
  • Loading branch information
jmhbnz committed Apr 2, 2024
2 parents a08812e + f6eda94 commit 547aa64
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
skip-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 547aa64

Please sign in to comment.