Fix linter config.

This commit is contained in:
2025-11-15 13:16:30 -08:00
parent fd9f9f6d66
commit 928c643d8d
2 changed files with 53 additions and 82 deletions

View File

@@ -1,3 +1,5 @@
version: "2"
run:
timeout: 5m
tests: true
@@ -25,7 +27,7 @@ linters:
- revive
- typecheck
linters-settings:
settings:
gocyclo:
min-complexity: 15
@@ -33,9 +35,6 @@ linters-settings:
min-len: 3
min-occurrences: 3
misspell:
locale: US
revive:
rules:
- name: exported
@@ -81,7 +80,5 @@ issues:
output:
formats:
- format: colored-line-number
path: stdout
print-issued-lines: true
print-linter-name: true
text:
colors: false

View File

@@ -1,26 +0,0 @@
arch:
- amd64
- ppc64le
sudo: false
language: go
go:
- tip
- 1.9
jobs:
exclude:
- go: 1.9
arch: amd64
- go: 1.9
arch: ppc64le
script:
- go get golang.org/x/lint/golint
- go get golang.org/x/tools/cmd/cover
- go get github.com/kisom/goutils/...
- go test -cover github.com/kisom/goutils/...
- golint github.com/kisom/goutils/...
notifications:
email:
recipients:
- coder@kyleisom.net
on_success: change
on_failure: change