mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Replace run.skip-files with issues.exclude-files in golangci config
Address the warning "The configuration option `run.skip-files` is deprecated, please use `issues.exclude-files`." Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
This commit is contained in:
parent
a08812eb01
commit
f6eda94579
@ -1,7 +1,6 @@
|
||||
---
|
||||
run:
|
||||
timeout: 30m
|
||||
skip-files: [^zz_generated.*]
|
||||
issues:
|
||||
max-same-issues: 0
|
||||
# Excluding configuration per-path, per-linter, per-text and per-source
|
||||
@ -9,6 +8,8 @@ issues:
|
||||
# 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user