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