From 4333dfbf31050da0753b6f48f908f224e4a632de Mon Sep 17 00:00:00 2001 From: t-umeda Date: Thu, 17 Oct 2024 12:36:38 +0900 Subject: [PATCH] fix: golangci conf --- .golangci.yaml | 51 -------------------------------------------------- .golangci.yml | 4 ---- 2 files changed, 55 deletions(-) delete mode 100644 .golangci.yaml diff --git a/.golangci.yaml b/.golangci.yaml deleted file mode 100644 index 7a48f0b..0000000 --- a/.golangci.yaml +++ /dev/null @@ -1,51 +0,0 @@ -run: - timeout: 15m - skip-files: - - tools/tools.go - # Skip autogenerated files. - - ^.*\.(pb|yo)\.go$ - -output: - sort-results: true - -linters: - enable: - - depguard - - gocritic - - gofumpt - - goimports - - misspell - - predeclared - - revive - - unconvert - - unused - -issues: - max-same-issues: 0 - exclude-rules: - - path: _test.go - linters: - - errcheck - - path: tools/tools.go - linters: - - stylecheck - -linters-settings: - depguard: - rules: - main: - deny: - - pkg: "github.com/stretchr/testify/assert" - desc: "Use github.com/stretchr/testify/require instead of github.com/stretchr/testify/assert" - - pkg: "io/ioutil" - desc: "Use corresponding 'os' or 'io' functions instead." - goimports: - local-prefixes: github.com/bbsakura - gofumpt: - extra-rules: true - revive: - rules: - # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#unused-parameter - - name: unused-parameter - severity: warning - disabled: true \ No newline at end of file diff --git a/.golangci.yml b/.golangci.yml index a555322..d596395 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -1,9 +1,5 @@ run: timeout: 15m - skip-files: - - tools/tools.go - # Skip autogenerated files. - - ^.*\.(pb|yo)\.go$ build-tags: - vrf_test - xdp_test