Skip to content

Commit

Permalink
feat: go1.17, looking-glass v0.2.0 (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
nrwiersma authored Aug 17, 2021
1 parent a69cb7c commit 1bf2a8b
Show file tree
Hide file tree
Showing 3 changed files with 265 additions and 10 deletions.
40 changes: 40 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
run:
tests: false
timeout: 5m

linters-settings:
cyclop:
max-complexity: 20
skip-tests: true
funlen:
lines: 80
gofumpt:
extra-rules: true

linters:
enable-all: true
disable:
- interfacer # deprecated
- scopelint # deprecated
- maligned # deprecated
- golint # deprecated
- durationcheck
- exhaustive
- exhaustivestruct
- forcetypeassert
- funlen
- gochecknoglobals
- gochecknoinits
- goerr113
- gomnd
- nlreturn
- nilerr
- noctx
- tagliatelle
- wrapcheck
- wsl

issues:
exclude-use-default: false
exclude:
- 'ST1000: at least one file in a package should have a package comment'
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module github.com/glasslabs/clock

go 1.15
go 1.17

require github.com/glasslabs/looking-glass v0.1.0-alpha1
require github.com/glasslabs/looking-glass v0.2.0
Loading

0 comments on commit 1bf2a8b

Please sign in to comment.