--- run: concurrency: 2 timeout: 1m issues-exit-code: 1 tests: true modules-download-mode: readonly output: format: colored-line-number print-issues-lines: true print-linter-name: true uniq-by-line: true sort-results: true linters: enable-all: true disable: - exhaustruct - exhaustivestruct # (deprecated) - golint # (deprecated) - ifshort # (deprecated) - scopelint # (deprecated) - maligned # (deprecated) - deadcode # (deprecated) - nosnakecase # (deprecated) - interfacer # (deprecated) - varcheck # (deprecated) - structcheck # (deprecated) fast: false linters-settings: depguard: rules: main: files: - $all allow: - $gostd - codeflow.dananglin.me.uk/apollo/spruce lll: line-length: 140 issues: exclude-rules: - path: cmd/spruce/main.go linters: - gochecknoglobals - path: cmd/spruce-docgen/main.go linters: - gochecknoglobals - cyclop - path: internal/cmd/generate.go linters: - gomnd