Skip to content

Commit

Permalink
Upgrade to 1.12 and golangci-lint (#61)
Browse files Browse the repository at this point in the history
* Upgrade to 1.12 and golangci-lint

* Unused gometalinter install script
  • Loading branch information
cep21 authored Mar 26, 2019
1 parent a7e9562 commit 9acd688
Show file tree
Hide file tree
Showing 12 changed files with 51 additions and 450 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/.idea
36 changes: 36 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
run:
deadline: 3m

linters:
disable-all: true
enable:
- deadcode
- depguard
- dupl
- errcheck
- gochecknoinits
- goconst
- gocritic
- gocyclo
- gofmt
- goimports
- golint
- gosec
- gosimple
- govet
- ineffassign
- interfacer
- maligned
- megacheck
- misspell
- nakedret
- prealloc
- scopelint
- staticcheck
- structcheck
- stylecheck
- typecheck
- unconvert
- unparam
- unused
- varcheck
35 changes: 0 additions & 35 deletions .gometalinter.json

This file was deleted.

Loading

0 comments on commit 9acd688

Please sign in to comment.