From f6ced49dcc10d11a2f8b5e1338dfd7fca9057678 Mon Sep 17 00:00:00 2001 From: Trevor Pounds Date: Sun, 29 Dec 2019 21:21:10 -0500 Subject: [PATCH] Simplify skipped dir rules. --- .golangci.yml | 14 +++----------- README.md | 14 +++----------- 2 files changed, 6 insertions(+), 22 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index 5dd21c48..8fbfb161 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -98,17 +98,9 @@ linters: run: skip-dirs: - test/testdata_etc - skip-files: - - internal/cache/.*_test.go - -issues: - exclude-rules: - - path: internal/(cache|renameio)/ - linters: - - lll - - gochecknoinits - - gocyclo - - funlen + - internal/cache + - internal/renameio + - internal/robustio # golangci.com configuration # https://github.com/golangci/golangci/wiki/Configuration diff --git a/README.md b/README.md index 176664cd..2ff98291 100644 --- a/README.md +++ b/README.md @@ -1014,17 +1014,9 @@ linters: run: skip-dirs: - test/testdata_etc - skip-files: - - internal/cache/.*_test.go - -issues: - exclude-rules: - - path: internal/(cache|renameio)/ - linters: - - lll - - gochecknoinits - - gocyclo - - funlen + - internal/cache + - internal/renameio + - internal/robustio # golangci.com configuration # https://github.com/golangci/golangci/wiki/Configuration