Skip to content

Commit

Permalink
all: upgrade and reconfigure linting
Browse files Browse the repository at this point in the history
  • Loading branch information
mmcloughlin committed Aug 26, 2023
1 parent a7968f3 commit b41eec8
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,29 @@
linters:
enable-all: true
disable:
- deadcode
- exhaustivestruct
- exhaustruct
- gochecknoglobals
- gochecknoinits
- goerr113
- golint
- gomnd
- gosec
- funlen
- ifshort
- interfacer
- lll
- maligned
- nlreturn
- nonamedreturns
- nosnakecase
- paralleltest
- prealloc
- scopelint
- structcheck
- testpackage
- varcheck
- varnamelen
- wrapcheck
- wsl
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ clean:
.PHONY: bootstrap
bootstrap:
go install github.com/campoy/[email protected]
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/v1.45.2/install.sh | sh -s -- -b ${GOPATH}/bin v1.45.2
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/v1.54.2/install.sh | sh -s -- -b ${GOPATH}/bin v1.54.2
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Command mathfmt formats mathematical documentation.
package main

import (
Expand Down
1 change: 1 addition & 0 deletions make_symbols.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
//go:build ignore
// +build ignore

// Command make_symbols generates output from a symbol database.
package main

import (
Expand Down

0 comments on commit b41eec8

Please sign in to comment.